{"id":15295764,"url":"https://github.com/toolforge/toolforge-php-mysql","last_synced_at":"2026-01-28T19:36:39.544Z","repository":{"id":66574819,"uuid":"98240922","full_name":"toolforge/toolforge-php-mysql","owner":"toolforge","description":"Helpers for working with MySQL databases on Wikimedia's Toolforge service","archived":false,"fork":false,"pushed_at":"2020-01-03T21:16:07.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-11-27T14:43:12.307Z","etag":null,"topics":["mysql-database","php","toolforge","wikimedia"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toolforge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-24T22:40:53.000Z","updated_at":"2021-09-28T14:14:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"770ed782-73e8-4113-91f6-05245c81493b","html_url":"https://github.com/toolforge/toolforge-php-mysql","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/toolforge/toolforge-php-mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolforge%2Ftoolforge-php-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolforge%2Ftoolforge-php-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolforge%2Ftoolforge-php-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolforge%2Ftoolforge-php-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toolforge","download_url":"https://codeload.github.com/toolforge/toolforge-php-mysql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolforge%2Ftoolforge-php-mysql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28850421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mysql-database","php","toolforge","wikimedia"],"created_at":"2024-09-30T18:08:01.046Z","updated_at":"2026-01-28T19:36:39.526Z","avatar_url":"https://github.com/toolforge.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Toolforge MySQL\n===============\n\nHelpers for working with MySQL databases on Wikimedia's Toolforge service.\n\nInstallation\n------------\n\n```\n$ composer require bd808/toolforge-mysql\n```\n\nUsage\n-----\n\n### Storing sessions in ToolsDB\n\nCreate your session database, table, and encryption key:\n\n```\n$ vendor/bin/toolforge-mysql-session-init\n```\n\nSee `toolforge-mysql-session-init --help` for additional options.\n\nStore sessions in your database:\n```php\n\u003c?php\nuse Bd808\\Toolforge\\Mysql\\SessionHandler;\n\n$sessionHandler = new SessionHandler();\n$sessionHandler-\u003estart();\n```\n\nSee [SessionHandler.php](src/SessionHandler.php) for additional options.\n\nLicense\n-------\n\nToolforge MySQL is licensed under the MIT license. See the\n[`LICENSE`](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolforge%2Ftoolforge-php-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoolforge%2Ftoolforge-php-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolforge%2Ftoolforge-php-mysql/lists"}