{"id":37001472,"url":"https://github.com/userfrosting/session","last_synced_at":"2026-01-14T00:10:52.012Z","repository":{"id":52689741,"uuid":"60301008","full_name":"userfrosting/session","owner":"userfrosting","description":"Wrapper for $_SESSION that can be used with a variety of different session handlers, based on illuminate/session","archived":true,"fork":false,"pushed_at":"2021-05-06T00:02:36.000Z","size":56,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-30T20:55:38.974Z","etag":null,"topics":["userfrosting","userfrosting-component"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/userfrosting.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-02T22:16:15.000Z","updated_at":"2024-04-28T02:05:16.000Z","dependencies_parsed_at":"2022-08-24T13:00:48.976Z","dependency_job_id":null,"html_url":"https://github.com/userfrosting/session","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/userfrosting/session","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userfrosting%2Fsession","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userfrosting%2Fsession/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userfrosting%2Fsession/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userfrosting%2Fsession/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/userfrosting","download_url":"https://codeload.github.com/userfrosting/session/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userfrosting%2Fsession/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["userfrosting","userfrosting-component"],"created_at":"2026-01-14T00:10:51.186Z","updated_at":"2026-01-14T00:10:52.004Z","avatar_url":"https://github.com/userfrosting.png","language":"PHP","funding_links":["https://opencollective.com/userfrosting"],"categories":[],"sub_categories":[],"readme":"# Sessions module for UserFrosting 4\n\n[![Latest Version](https://img.shields.io/github/release/userfrosting/session.svg)](https://github.com/userfrosting/session/releases)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.md)\n[![Join the chat at https://chat.userfrosting.com/channel/support](https://chat.userfrosting.com/api/v1/shield.svg?name=UserFrosting)](https://chat.userfrosting.com/channel/support)\n[![Donate](https://img.shields.io/badge/Open%20Collective-Donate-blue.svg)](https://opencollective.com/userfrosting#backer)\n\n| Branch | Build | Coverage | Style |\n| ------ |:-----:|:--------:|:-----:|\n| [master][Session]  | [![][session-master-build]][session-travis] | [![][session-master-codecov]][session-codecov] | [![][session-style-master]][session-style] |\n| [develop][session-develop] | [![][session-develop-build]][session-travis] | [![][session-develop-codecov]][session-codecov] | [![][session-style-develop]][session-style] |\n\n\u003c!-- Links --\u003e\n[Session]: https://github.com/userfrosting/session\n[session-develop]: https://github.com/userfrosting/session/tree/develop\n[session-version]: https://img.shields.io/github/release/userfrosting/session.svg\n[session-master-build]: https://github.com/userfrosting/session/workflows/Build/badge.svg?branch=master\n[session-master-codecov]: https://codecov.io/gh/userfrosting/session/branch/master/graph/badge.svg\n[session-develop-build]: https://github.com/userfrosting/session/workflows/Build/badge.svg?branch=develop\n[session-develop-codecov]: https://codecov.io/gh/userfrosting/session/branch/develop/graph/badge.svg\n[session-releases]: https://github.com/userfrosting/session/releases\n[session-travis]: https://github.com/userfrosting/session/actions?query=workflow%3ABuild\n[session-codecov]: https://codecov.io/gh/userfrosting/session\n[session-style-master]: https://github.styleci.io/repos/60301008/shield?branch=master\u0026style=flat\n[session-style-develop]: https://github.styleci.io/repos/60301008/shield?branch=develop\u0026style=flat\n[session-style]: https://github.styleci.io/repos/60301008\n\n## Example usage:\n\n```\nuse Illuminate\\Filesystem\\Filesystem;\nuse Illuminate\\Session\\FileSessionHandler;\nuse UserFrosting\\Session\\Session;\n\n// Use custom filesystem sessions\n$fs = new FileSystem;\n$handler = new FileSessionHandler($fs, \\UserFrosting\\APP_DIR . \"/sessions\");\n\n// Creates a new wrapper for $_SESSION\n$session = new Session($handler, $config['session']);\n\n// Starts the session\n$session-\u003estart();\n\n// Set some values\n$session['contacts.housekeeper.name']; = 'Alex \"the man\" Weissman';\n\n// They're stored in array format...\nprint_r($session-\u003eall());\n\n// Output is:\n/*\n[\n    'contacts' =\u003e [\n        'housekeeper' =\u003e [\n            'name' =\u003e 'Alex \"the man\" Weissman'\n        ]\n    ]\n];\n*/\n\n// Destroy the session, both in memory and on the persistence layer, and tell the browser to remove the cookie\n$session-\u003edestroy();\n\n```\n\n## [Style Guide](STYLE-GUIDE.md)\n\n## [Testing](RUNNING_TESTS.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuserfrosting%2Fsession","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuserfrosting%2Fsession","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuserfrosting%2Fsession/lists"}