{"id":15093656,"url":"https://github.com/hedii/codeigniter-login-logout-register","last_synced_at":"2025-10-06T13:30:25.896Z","repository":{"id":31021649,"uuid":"34580162","full_name":"hedii/Codeigniter-login-logout-register","owner":"hedii","description":"A user login, logout, register start for Codeigniter 3","archived":true,"fork":false,"pushed_at":"2017-07-23T10:36:40.000Z","size":1664,"stargazers_count":165,"open_issues_count":0,"forks_count":133,"subscribers_count":38,"default_branch":"master","last_synced_at":"2024-10-01T07:42:36.433Z","etag":null,"topics":["codeigniter","login","logout","php","register"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hedii.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}},"created_at":"2015-04-25T18:18:09.000Z","updated_at":"2024-06-29T09:04:55.000Z","dependencies_parsed_at":"2022-09-13T08:41:59.439Z","dependency_job_id":null,"html_url":"https://github.com/hedii/Codeigniter-login-logout-register","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/hedii%2FCodeigniter-login-logout-register","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hedii%2FCodeigniter-login-logout-register/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hedii%2FCodeigniter-login-logout-register/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hedii%2FCodeigniter-login-logout-register/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hedii","download_url":"https://codeload.github.com/hedii/Codeigniter-login-logout-register/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235527720,"owners_count":19004370,"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":["codeigniter","login","logout","php","register"],"created_at":"2024-09-25T11:24:36.592Z","updated_at":"2025-10-06T13:30:18.337Z","avatar_url":"https://github.com/hedii.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# codeigniter-login-logout-register\nA user login, logout, register start for Codeigniter 3\n\n## Notice\nCodeigniter has not evolved as fast as modern php and php best practices.\u003cbr\u003e\nIt has become a very old framework, and I advise against using it, even for beginners.\n\nTry something like [Laravel](https://laravel.com/) or [Symfony](https://symfony.com/).\n\nWith Laravel you get login-logout-register out of the box, and it is a very easy to use and pleasant framework: go for it.\n\n## Installation\n1. Open /application/config/database.php and edit with your database settings\n2. On your database, open a SQL terminal paste this and execute:\n\n```sql\nCREATE TABLE IF NOT EXISTS `users` (\n  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,\n  `username` varchar(255) NOT NULL DEFAULT '',\n  `email` varchar(255) NOT NULL DEFAULT '',\n  `password` varchar(255) NOT NULL DEFAULT '',\n  `avatar` varchar(255) DEFAULT 'default.jpg',\n  `created_at` datetime NOT NULL,\n  `updated_at` datetime DEFAULT NULL,\n  `is_admin` tinyint(1) unsigned NOT NULL DEFAULT '0',\n  `is_confirmed` tinyint(1) unsigned NOT NULL DEFAULT '0',\n  `is_deleted` tinyint(1) unsigned NOT NULL DEFAULT '0',\n  PRIMARY KEY (`id`)\n);\nCREATE TABLE IF NOT EXISTS `ci_sessions` (\n  `id` varchar(40) NOT NULL,\n  `ip_address` varchar(45) NOT NULL,\n  `timestamp` int(10) unsigned DEFAULT 0 NOT NULL,\n  `data` blob NOT NULL,\n  PRIMARY KEY (id),\n  KEY `ci_sessions_timestamp` (`timestamp`)\n);\n```\nGo to http://example.com/register and create a user\n\n## Usage\nIt is just a starter for user login logout register functionalities.\n\nExtend the user controller or keep it as it is and write your own application with Codeigniter.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhedii%2Fcodeigniter-login-logout-register","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhedii%2Fcodeigniter-login-logout-register","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhedii%2Fcodeigniter-login-logout-register/lists"}