Yet another modernized directory structure for creating new Codeigniter 3 projects.
Ignite is yet another Codeigniter 3 project template with a twist:
application
directory as the root directory; andpublic
directory to store the main index.php
file.ciacme/
├── cache/
├── config/
├── controllers/
├── core/
├── helpers/
├── hooks/
├── language/
├── libraries/
├── logs/
├── models/
├── public/
│ ├── .htaccess
│ └── index.php
├── third_party/
├── vendor/
├── views/
└── composer.json
Use Composer to create a new Ignite
-based Codeigniter 3
project:
$ composer create-project rougin/ignite "ciacme"
To run the application for development, the built-in web server of PHP can be used:
$ cd ciacme
$ php -S localhost:4464 -t public/
[!NOTE] The built-in web server is only available for PHP versions
v5.4
and higher.
After running the web server, access http://localhost:4464
in a web browser.
Ignite
also provides default configuration for the following third-party packages below. These packages improve quality of development when writing code under Codeigniter 3
:
Combustor is a utility package for Codeigniter 3
that generates controllers, models, and views based on the provided database tables. It uses the Describe package for getting columns from a database table and as the basis for code generation.
Refinery is a console-based package of Migrations Class for Codeigniter 3
. It also uses the Describe package for retrieving the database tables for creating database migrations.