xiidea / codeigniter-extended
Codeigniter Extended, Codeigniter's Enhanced Distribution for fast application start!
Installs: 73
Dependents: 0
Suggesters: 0
Security: 0
Stars: 15
Watchers: 5
Forks: 6
Open Issues: 4
Type:project
Requires
- php: >=5.3.3
- ellislab/codeigniter: 2.1-stable
- kriswallsmith/assetic: 1.2.*@dev
- swiftmailer/swiftmailer: v5.0.1
- symfony/console: 2.4.*@dev
- twig/twig: 1.*
- xiidea/ci-base-model: 2.1.*
- xiidea/ezrbac: 1.2.*@dev
This package is not auto-updated.
Last update: 2024-12-14 18:44:03 UTC
README
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.
- 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.
- 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
</VirtualHost>
##Backend user and password
The default user to access to the private zone is:
user: admin@admin.com
password: 123456
- 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
andassets/js/mini.php?files=file1,file2
)
or (assets/css/file1,file2,file3.css
andassets/js/file1,file2.js
with rewrite enable)
Enjoy!