{"id":16674688,"url":"https://github.com/burzum/session","last_synced_at":"2025-12-30T04:35:13.178Z","repository":{"id":142462968,"uuid":"153153890","full_name":"burzum/session","owner":"burzum","description":"A php session abstraction","archived":false,"fork":false,"pushed_at":"2020-11-23T22:19:51.000Z","size":41,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T20:47:38.498Z","etag":null,"topics":["abstraction","agnostic","oop","php-sessions","session","session-handler","session-management"],"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/burzum.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"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":"2018-10-15T17:25:46.000Z","updated_at":"2021-01-14T21:18:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"2906fa11-f60a-42cf-855b-9ccfff5e9960","html_url":"https://github.com/burzum/session","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burzum%2Fsession","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burzum%2Fsession/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burzum%2Fsession/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burzum%2Fsession/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/burzum","download_url":"https://codeload.github.com/burzum/session/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243331606,"owners_count":20274288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["abstraction","agnostic","oop","php-sessions","session","session-handler","session-management"],"created_at":"2024-10-12T12:43:55.221Z","updated_at":"2025-12-30T04:35:13.147Z","avatar_url":"https://github.com/burzum.png","language":"PHP","readme":"# Agnostic php session library\n\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)\n[![Scrutinizer Coverage](https://img.shields.io/scrutinizer/coverage/g/Phauthentic/session/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/Phauthentic/session/)\n[![Code Quality](https://img.shields.io/scrutinizer/g/Phauthentic/session/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/Phauthentic/session/)\n\nA framework agnostic session library with convenient dot notation access.\n\n## Session handlers\n\nIncluded:\n* Native php sessions\n* Simple database sessions via PDO (MySQL, Postgres,...)\n\nExternal handlers:\n* [Redis](https://github.com/1ma/RedisSessionHandler)\n* [PSR6 and PSR16 cache session adapter](https://github.com/php-cache/session-handler) \n\nYou can implement any other handler or use other already existing implementations that implement the native php [SessionHandlerInterface](http://php.net/manual/en/class.sessionhandlerinterface.php). \n\n## Example\n\nThis is a very simple example to give you an idea of how to use it:\n\n```php\nuse Phauthentic\\Session\\Session;\nuse Phauthentic\\Session\\Config as SessionConfig;\n\n$config = (new SessionConfig())\n    -\u003esetSessionName('my-app')\n    -\u003esetGcMaxLifeTime(60);\n\n$session = new Session($config);\n$session-\u003ewrite('user', ['username' =\u003e 'foo']);\n\necho $session-\u003eread('user.username');\n```\n\n## Copyright \u0026 License\n\nLicensed under the [MIT license](LICENSE.txt).\n\n* Copyright (c) Florian Krämer\n* Copyright (c) [Cake Software Foundation, Inc.](https://cakefoundation.org)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburzum%2Fsession","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburzum%2Fsession","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburzum%2Fsession/lists"}