{"id":36399372,"url":"https://github.com/pematon/mysql-session-handler","last_synced_at":"2026-01-11T16:02:13.649Z","repository":{"id":24105869,"uuid":"27493699","full_name":"pematon/mysql-session-handler","owner":"pematon","description":"Custom PHP session handler for Nette Framework that uses MySQL database for storage.","archived":false,"fork":false,"pushed_at":"2023-12-24T15:41:34.000Z","size":11,"stargazers_count":8,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-05T15:25:15.587Z","etag":null,"topics":["nette"],"latest_commit_sha":null,"homepage":"","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/pematon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-12-03T15:31:39.000Z","updated_at":"2025-01-27T09:12:55.000Z","dependencies_parsed_at":"2023-12-24T16:47:24.718Z","dependency_job_id":null,"html_url":"https://github.com/pematon/mysql-session-handler","commit_stats":{"total_commits":17,"total_committers":4,"mean_commits":4.25,"dds":0.2941176470588235,"last_synced_commit":"5ff550b555fd8b6ac3e3f75ac637ab45d2ca9d66"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/pematon/mysql-session-handler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pematon%2Fmysql-session-handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pematon%2Fmysql-session-handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pematon%2Fmysql-session-handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pematon%2Fmysql-session-handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pematon","download_url":"https://codeload.github.com/pematon/mysql-session-handler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pematon%2Fmysql-session-handler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28312149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"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":["nette"],"created_at":"2026-01-11T16:02:13.275Z","updated_at":"2026-01-11T16:02:13.592Z","avatar_url":"https://github.com/pematon.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MySQL Session handler\n\nCustom PHP session handler for [Nette Framework](http://nette.org/) that uses MySQL database for storage.\n\n## Requirements\n\n- PHP 8.1+\n\n## Installation\n\nPreferred way to install pematon/mysql-session-handler is by using [Composer](http://getcomposer.org/):\n\n```sh\n$ composer require pematon/mysql-session-handler:~2.0\n```\n\n## Setup\n\nAfter installation:\n\n1) Create the table `session` using SQL in [sql/create.sql](sql/create.sql).\n\n2) Register an extension in config.neon:\n\n```neon\nextensions:\n    sessionHandler: Pematon\\Session\\DI\\MysqlSessionHandlerExtension\n```\n\n3) Configure custom table name:\n\n```neon\nsessionHandler:\n    tableName: session\n```\n\n## Features\n\n- For security reasons, Session ID is stored in the database as an MD5 hash.\n- Multi-Master Replication friendly (tested in Master-Master row-based replication setup).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpematon%2Fmysql-session-handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpematon%2Fmysql-session-handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpematon%2Fmysql-session-handler/lists"}