Skip to content
/ codi Public

A PHP application boilerplate based on CodeIgniter 4

License

Notifications You must be signed in to change notification settings

glewe/codi

Repository files navigation

CODI - Application boilerplate based on CodeIgniter 4

CodeIgniter Bootstrap Bootstrap Icons FontAwesome

PHP JS HTML CSS Quality Gate Status

What is CODI?

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.

Server Requirements

PHP 8.1 / 8.2 is required, More requirements can be found here:

Installation

  1. Clone the repository: git clone https://github.com/glewe/codi.git
  2. Run composer install
  3. Create a new database
  4. Edit the app/Config/Database.php file and add your database information
  5. Run php spark migrate
  6. Run php spark db:seed CODISeeder
  7. Navigate to your application in a browser, e.g. http://localhost/codi/public
  8. The home page provides login information

Making Changes

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.

Features

  • 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

Modules

  • 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

License

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.

Support

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.

Enjoy

Have fun with CODI !

George

About

A PHP application boilerplate based on CodeIgniter 4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published