2017 © Pedro Pelรกez
 

project codeigniter-composer

Package to install The CodeIgniter framework 3 via Composer

image

satoripophq/codeigniter-composer

Package to install The CodeIgniter framework 3 via Composer

  • Tuesday, April 4, 2017
  • by satoripophq
  • Repository
  • 1 Watchers
  • 1 Stars
  • 53 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 10 % Grown

The README.md

The CodeIgniter framework 3 Composer Installer

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

This package installs the offical CodeIgniter (version 3.1.*) with secure folder structure via Composer., (*2)

Note: If you want to install CodeIgniter4 (under development), see https://github.com/sabri-elgueder/codeigniter-composer/tree/4.x., (*3)

You can update CodeIgniter system folder to latest version with one command., (*4)

Folder Structure

codeigniter/
โ”œโ”€โ”€ application/
โ”œโ”€โ”€ composer.json
โ”œโ”€โ”€ composer.lock
โ”œโ”€โ”€ public/
โ”‚ย ย  โ”œโ”€โ”€ .htaccess
โ”‚ย ย  โ””โ”€โ”€ index.php
โ””โ”€โ”€ vendor/
    โ””โ”€โ”€ codeigniter/
     ย ย  โ””โ”€โ”€ framework/
     ย ย      โ””โ”€โ”€ system/

Requirements

How to Use

Install CodeIgniter

$ composer create-project satoripophq/codeigniter-composer codeigniter

Above command installs public/.htaccess to remove index.php in your URL. If you don't need it, please remove it., (*5)

And it changes application/config/config.php:, (*6)

$config['composer_autoload'] = FALSE;
โ†“
$config['composer_autoload'] = realpath(APPPATH . '../vendor/autoload.php');
$config['index_page'] = 'index.php';
โ†“
$config['index_page'] = '';

Install Translations for System Messages

If you want to install translations for system messages:, (*7)

$ cd /path/to/codeigniter
$ php bin/install.php translations 3.1.0

Install Third Party Libraries

Codeigniter Matches CLI:, (*8)

$ php bin/install.php matches-cli master

CodeIgniter HMVC Modules:, (*9)

$ php bin/install.php hmvc-modules master

Modular Extensions - HMVC:, (*10)

$ php bin/install.php modular-extensions-hmvc master

CodeIgniter Template Library:, (*11)

$ php bin/install.php codeigniter-template-library master

Ion Auth:, (*12)

$ php bin/install.php ion-auth 2

CodeIgniter3 Filename Checker:, (*13)

$ php bin/install.php filename-checker master

CodeIgniter Rest Server:, (*14)

$ php bin/install.php restserver 2.7.2

Update CodeIgniter

$ cd /path/to/codeigniter
$ composer update

You must update files manually if files in application folder or index.php change. Check CodeIgniter User Guide., (*15)

Reference

The Versions

04/04 2017

dev-master

9999999-dev http://www.sabri-elgueder.tn

Package to install The CodeIgniter framework 3 via Composer

  Sources   Download

MIT

The Requires

 

composer installer codeigniter satoripop

04/04 2017

v1.0

1.0.0.0 http://www.sabri-elgueder.tn

Package to install The CodeIgniter framework 3 via Composer

  Sources   Download

MIT

The Requires

 

composer installer codeigniter satoripop

28/03 2017

4.x-dev

4.9999999.9999999.9999999-dev http://www.sabri-elgueder.tn

Package to install CodeIgniter via Composer.

  Sources   Download

MIT

The Requires

 

composer installer codeigniter