{"id":23281006,"url":"https://github.com/hichxm/session-manager-database","last_synced_at":"2026-05-13T20:32:50.642Z","repository":{"id":56984251,"uuid":"123434540","full_name":"hichxm/session-manager-database","owner":"hichxm","description":"Manage your session with database.","archived":false,"fork":false,"pushed_at":"2020-07-05T17:40:39.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T19:48:05.648Z","etag":null,"topics":["database","management","manager","medoo","session"],"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/hichxm.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-03-01T12:52:44.000Z","updated_at":"2018-03-01T13:21:28.000Z","dependencies_parsed_at":"2022-08-21T09:10:36.219Z","dependency_job_id":null,"html_url":"https://github.com/hichxm/session-manager-database","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hichxm%2Fsession-manager-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hichxm%2Fsession-manager-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hichxm%2Fsession-manager-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hichxm%2Fsession-manager-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hichxm","download_url":"https://codeload.github.com/hichxm/session-manager-database/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247491763,"owners_count":20947537,"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":["database","management","manager","medoo","session"],"created_at":"2024-12-19T23:39:59.772Z","updated_at":"2026-05-13T20:32:45.622Z","avatar_url":"https://github.com/hichxm.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Session Manager Database\n\n**Session Manager Database** will allow you to manage the sessions in the enclosure of your application with database implementation.\n\n## Exemple:\n\n```php\n$session_method = new DATABASE_SessionManager([\n    \"type\" =\u003e \"mysql\", //Type of your database\n    \"name\" =\u003e \"sessionmanager\", //Name of your database\n    \"server\" =\u003e \"127.0.0.1\", //Host\n    \"port\" =\u003e 3306, //Port\n    \"username\" =\u003e \"root\", //Username\n    \"password\" =\u003e \"\" //Password\n]);\n$session = new SessionManager($session_method);\n\n//Start session.\n$session-\u003estart();\n\n//Set data or different method to set data.\n$session-\u003eset($key = \"id\", $value = \"1545348\");\n$session['id'] = 1545348;\n\n//Get data or different method to get data.\n$session-\u003eget($key = \"id\");\n$session['id'];\n\n//Unset data.\n$session-\u003eunset($key = \"id\");\nunset($session['id']);\n\n//Stop session.\n$session-\u003estop();\n```\n\n## Full doc\n\n[Documentation.](DOC.md)\n\n## License (MIT)\n\n```\nThe MIT License (MIT)\n\nCopyright (c) 2018 \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhichxm%2Fsession-manager-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhichxm%2Fsession-manager-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhichxm%2Fsession-manager-database/lists"}