Codeigniter Extended, Codeigniter's Enhanced Distribution for fast application start!

1.2.1 2014-01-23 13:32 UTC

This package is not auto-updated.

Last update: 2022-01-15 04:41:54 UTC


Welcome to the Codeigniter Extended Edition - a fully-functional Codeigniter2 application that you can use as the skeleton for your new applications.

This document contains information on how to download, install, and start using Codeigniter2 Extended Edition.

  1. Installing the Extended Edition

Use Composer

Download and extract or Clone this project first. Go to downloaded directory.

If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:

curl -s http://getcomposer.org/installer | php

If you want some customization, first make it in the composer.json file. Then, use the install command to download all dependencies along with codeigniter framework.

php composer.phar install

if you like to install with all the default configuration settings you may just run the following command

php composer.phar create-project xiidea/codeigniter-extended path/ 1.2.1

Composer will install Codeigniter2 and all the dependencies under the working directory. And ask you for some configuration values.

  1. Browsing the Demo Application

Congratulations! You're now ready to use Codeigniter2.

Edit the files with your preferences (domain, languages, database, authentication):

  • {application}/config/config.php
  • {application}/config/database.php
  • {application}/config/ez_rbac.php

Create a virtualhost setting the document root pointing to /path/of/web-root directory

<VirtualHost *:80>
	ServerName mydomain.com
	ServerAlias www.mydomain.com
	DocumentRoot /path/to/web

##Backend user and password

The default user to access to the private zone is:

user: 		admin@admin.com  
password: 	123456
  1. Getting started with Codeigniter2 Extended Edition

This distribution is meant to be the starting point for your Codeigniter2 applications, but it also contains some sample code that you can learn from and play with.

What's inside?

The Codeigniter2 Extended Edition is configured with the following defaults:

  • Twig as template engine(if you chose to add it);

  • Swiftmailer is configured(if you chose to add it);

It comes pre-configured with the following libraries:

  • EzRbac Role Based Access Control Library

  • CI_Base_Model An extension of CodeIgniter's base Model class

  • Enhanced Controller Library

  • Enhanced Loader Library(For support twig template engine and basic layout)

  • CIX Twig Extension Library

  • Enhanced Language Library(gettext localization implementation)

  • You can use the PHP built-in web server to run CIX application

  • JS/CSS Minifier. you can use (assets/css/mini.php?files=file1,file2 and assets/js/mini.php?files=file1,file2)
    or (assets/css/file1,file2,file3.css and assets/js/file1,file2.js with rewrite enable)