{"id":14987338,"url":"https://github.com/bvrignaud/ci4-admin","last_synced_at":"2025-04-12T00:02:01.647Z","repository":{"id":62498529,"uuid":"160327344","full_name":"bvrignaud/ci4-admin","owner":"bvrignaud","description":"Admin module for CodeIgniter 4 based on IonAuth and AdminLTE","archived":false,"fork":false,"pushed_at":"2018-12-18T17:08:40.000Z","size":43,"stargazers_count":25,"open_issues_count":2,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-25T19:51:06.663Z","etag":null,"topics":["adminlte","codeigniter4","ionauth"],"latest_commit_sha":null,"homepage":"","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/bvrignaud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-04T08:54:30.000Z","updated_at":"2024-06-13T00:13:13.000Z","dependencies_parsed_at":"2022-11-02T09:45:44.303Z","dependency_job_id":null,"html_url":"https://github.com/bvrignaud/ci4-admin","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvrignaud%2Fci4-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvrignaud%2Fci4-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvrignaud%2Fci4-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bvrignaud%2Fci4-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bvrignaud","download_url":"https://codeload.github.com/bvrignaud/ci4-admin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358603,"owners_count":21090405,"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":["adminlte","codeigniter4","ionauth"],"created_at":"2024-09-24T14:14:28.369Z","updated_at":"2025-04-12T00:02:01.562Z","avatar_url":"https://github.com/bvrignaud.png","language":"PHP","readme":"# ci4-admin\n\n[![Build Status](https://travis-ci.com/bvrignaud/ci4-admin.svg?branch=master)](https://travis-ci.com/bvrignaud/ci4-admin)\n\nAdmin module for CodeIgniter 4 based on AdminLTE 3\n\n## Installing ci-admin\n\nBefore installing, please check that you are meeting the minimum server requirements.\n\nThere are different ways to install this package.\n\n\n\u003e 1. With composer\n\n```shell\n$ composer require bvrignaud/ci4-admin\n```\n---\n\n\u003e 2. With Git:\n\n```shell\nmy-project$ git clone https://github.com/bvrignaud/ci4-admin.git\n```\nThen in your Config/Autoload.php, add this :\n```php\n'IonAuth' =\u003e ROOTPATH . 'YOUR-ION_AUTH-FOLDER',\n'Admin'   =\u003e ROOTPATH . 'ci4-admin',\n```\n\n---\n\n\u003e 3. Download the archive, and move folder from this package to the root folder:\n\n```shell\nCI                          # → Root Directory\n├── application/\n├── ion-auth/               # → Ion-auth directory\n├── public\n├──...\n```\nThen in your Config/Autoload.php, add this :\n```php\n'IonAuth' =\u003e ROOTPATH . 'YOUR-ION_AUTH-FOLDER',\n'Admin'   =\u003e ROOTPATH . 'ci4-admin',\n```\n\n---\nInstall css/js dependencies\n```bash\n$ cd public/assets\n$ yarn add admin-lte@v3\n```\n---\n\n## Use it\n\nAdd routes configs in 'Config\\Routes.php':\n```php\n$routes-\u003egroup('auth', ['namespace' =\u003e 'IonAuth\\Controllers'], function ($routes) {\n\t$routes-\u003eget('/', 'Auth::index');\n\t$routes-\u003eadd('login', 'Auth::login');\n\t$routes-\u003eget('logout', 'Auth::logout');\n\t$routes-\u003eget('forgot_password', 'Auth::forgot_password');\n});\n\n$routes-\u003egroup('admin', ['namespace' =\u003e 'Admin\\Controllers'], function ($routes) {\n\t$routes-\u003eget('/', 'Home::index');\n\n\t$routes-\u003egroup('users', ['namespace' =\u003e 'Admin\\Controllers'], function ($routes) {\n\t\t$routes-\u003eget('/', 'Users::index');\n\t\t$routes-\u003eadd('create', 'Users::createUser');\n\t\t$routes-\u003eadd('edit/(:num)', 'Users::edit/$1');\n\t\t$routes-\u003eadd('activate/(:num)', 'Users::activate/$1');\n\t\t$routes-\u003eadd('deactivate/(:num)', 'Users::deactivate/$1');\n\t\t$routes-\u003eadd('edit_group/(:num)', 'Users::editGroup/$1');\n\t\t$routes-\u003eadd('create_group', 'Users::createGroup');\n\t});\n\n\t$routes-\u003egroup('informations', ['namespace' =\u003e 'Admin\\Controllers'], function ($routes) {\n\t\t$routes-\u003eget('/', 'Informations::index');\n\t\t$routes-\u003eget('displayPhpInfo', 'Informations::displayPhpInfo');\n\t\t$routes-\u003eadd('exportDatabase', 'Informations::exportDatabase');\n\t\t$routes-\u003epost('sendEmailForTest', 'Informations::sendEmailForTest');\n\t});\n});\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbvrignaud%2Fci4-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbvrignaud%2Fci4-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbvrignaud%2Fci4-admin/lists"}