Giter VIP home page Giter VIP logo

steam's Introduction

CodeIgniter Composer Installer

Latest Stable Version Total Downloads Latest Unstable Version License

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

You can update CodeIgniter system folder to latest version with one command.

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 kenjis/codeigniter-composer-installer codeigniter

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

And it changes application/config/config.php:

$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:

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

Install Third Party Libraries

Codeigniter Matches CLI:

$ php bin/install.php matches-cli master

CodeIgniter HMVC Modules:

$ php bin/install.php hmvc-modules master

Modular Extensions - HMVC:

$ php bin/install.php modular-extensions-hmvc codeigniter-3.x

Ion Auth:

$ php bin/install.php ion-auth 2

CodeIgniter3 Filename Checker:

$ php bin/install.php filename-checker master

CodeIgniter REST Server:

$ php bin/install.php restserver 2.7.2

Run PHP built-in server (PHP 5.4 or later)

$ bin/server.sh

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.

Reference

Related Projects for CodeIgniter 3.0

steam's People

Contributors

mariosumd avatar snivins avatar seralcrey avatar ricpelo avatar

Watchers

 avatar  avatar Guillermo López García avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.