{"id":37262212,"url":"https://github.com/fatkulnurk/session","last_synced_at":"2026-01-15T23:15:01.147Z","repository":{"id":56989609,"uuid":"233424798","full_name":"fatkulnurk/session","owner":"fatkulnurk","description":"PHP library for handling sessions","archived":false,"fork":false,"pushed_at":"2020-03-26T20:02:41.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T13:55:45.953Z","etag":null,"topics":["php","php-composer","php-library","session","session-management","session-manager"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fatkulnurk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-12T16:45:22.000Z","updated_at":"2020-03-26T19:50:00.000Z","dependencies_parsed_at":"2022-08-21T12:50:48.137Z","dependency_job_id":null,"html_url":"https://github.com/fatkulnurk/session","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/fatkulnurk/session","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatkulnurk%2Fsession","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatkulnurk%2Fsession/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatkulnurk%2Fsession/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatkulnurk%2Fsession/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fatkulnurk","download_url":"https://codeload.github.com/fatkulnurk/session/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fatkulnurk%2Fsession/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28473974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T22:27:41.514Z","status":"ssl_error","status_checked_at":"2026-01-15T21:54:47.910Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["php","php-composer","php-library","session","session-management","session-manager"],"created_at":"2026-01-15T23:15:00.461Z","updated_at":"2026-01-15T23:15:01.132Z","avatar_url":"https://github.com/fatkulnurk.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP SESSION\n---\nPHP library for handling sessions\n\n\n### Install\nSee in packagist\n````\nhttps://packagist.org/packages/fatkulnurk/session\n````\nwith composer\n```\ncomposer require fatkulnurk/session\n```\n\n### Under Development\n- [ ] Get session with nested key\n- [ ] Set session with Nested Value\n\n### Usage\n\n**Start session:**\n```\nSession::init();\n```\n\n**Start session by setting the session duration:**\n\nParam in seconds.\n```\nSession::init(3600);\n```\n\n**Add value to a session:**\n```\nSession::set('name', 'Fatkul Nur Koirudin');\n```\n\n**Add multiple value to sessions:**\n\nUnsupport for nested array.\n```\n$data = [\n    'name'     =\u003e 'Rudi',\n    'gender'   =\u003e 'Male',\n];\n\nSession::set($data);\n```\n\n**Extract session item, delete session item and finally return the item:**\n```\nSession::pull('name');\n```\n\n**Return the session array / Return all session value:**\n```\nSession::get();\n```\n\n**Get session id:**\n```\nSession::id();\n```\n\n**Destroys one key session:**\n```\nSession::destroy('name');\n```\n\n**Destroys all sessions:**\n```\nSession::destroy();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffatkulnurk%2Fsession","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffatkulnurk%2Fsession","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffatkulnurk%2Fsession/lists"}