Skip to content

Latest commit

 

History

History
75 lines (53 loc) · 2.43 KB

README.md

File metadata and controls

75 lines (53 loc) · 2.43 KB

Codeigniter

Latest Version on Packagist Software License Total Downloads

This is a library that provides the core functionality (the "system" folder) of the Codeigniter framework that might can be useful for testing framework-related libraries.

Installation

Install Codeigniter via Composer:

$ composer require rougin/codeigniter

To create a new project, install Ignite instead:

$ composer create-project rougin/ignite "project-name"

Why?

One-command update

I just need to run the composer update command to update the framework's core functionalities.

Out of curiosity

I want to create an installer for Codeigniter's core using composer require command only.

Simplify unit testing

Together with Spark Plug, you can easily create Codeigniter instances in your test cases.

Ignite project

Ignite is a Composer-based project for the Codeigniter framework which has a different structure of the "application" folder compared to the original. It was created to demonstrate the convenience of using the Composer-based Codeigniter packages in creating new applications.

Folder Structure

new-application/
├── cache/
├── config/
├── controllers/
├── core/
├── helpers/
├── hooks/
├── language/
├── libraries/
├── logs/
├── models/
├── third_party/
├── vendor/
├── views/
├── web/
│   ├── user_guide
│   ├── .htaccess
│   └── index.php
└── composer.json

License

The MIT License (MIT). Please see LICENSE for more information.