CODI is a PHP application boilerplate based on the CodeIgniter 4 framework, enriched by several useful public web application modules. It is an "opinionated boilerplate" with Bootstrap 5 visuals offering user, group and role management as well as the integration of Lewe CI4-Auth for authentication and authorization and Lewe CI4-Lic for license management. The separate repositories for that latter two will not be further maintained.
PHP 8.1 / 8.2 is required, More requirements can be found here:
- Clone the repository:
git clone https://github.com/glewe/codi.git
- Run
composer install
- Create a new database
- Edit the
app/Config/Database.php
file and add your database information - Run
php spark migrate
- Run
php spark db:seed CODISeeder
- Navigate to your application in a browser, e.g.
http://localhost/codi/public
- The home page provides login information
Should you make changes to the CSS or JavaScript files, you will need to run the following commands to compile them:
composer run build
That will compile and minimize the files and overwrite the old ones in the public/css
and public/js
directories.
- User, group and role management
- Authentication and authorization
- 2FA (Two-Factor Authentication)
- Permission management
- Software License Manager support
- Multi-language support
- Navbar or sidebar menu
- Dark or light theme
- Narrow or wide layout
- Registration with email verification
- Gravatar profile icons
- Lewe CI4-Auth
- Lewe CI4-Lic
- Bootstrap
- Bootstrap Icons
- Chart.js
- Coloris color picker
- Cookie Consent
- DateTime picker
- Font Awesome
- Freepik and Iconshock avatars
- Gravatar Library for CodeIgniter
- Highlight.js
- Lightbox2
- ... see the About page for more details and versions
You can use and modify this boilerplate for your own projects. It is licensed under the MIT license. Please keep the original author information in the files and link to this repo in your application's footer.
Feel free to let me know if you have any questions or suggestions or if you encounter bugs. Open an issue here in the repository.
Have fun with CODI !
George