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.
codeigniter/
├── application/
├── bin/
│ ├── install-deps.sh
├── composer.json
├── composer.lock
├── public/
│ ├── assets
│ │ ├── css
│ │ ├── images
│ │ ├── js
│ │ ├── images
│ │ ├── plugins-bower
│ ├── .htaccess
│ └── index.php
└── vendor/
└── codeigniter/
└── framework/
└── system/
- PHP 5.3.2 or later
composer
command (See Composer Installation)bower
- Git
-
Install dependences:
$ cd bin/ #go to bin folder $ sh install-deps.sh #run install dependences script $ cd ../ #back to project root folder
-
Copy database config file
$ cp application/config/database-template.php application/config/database.php
Edit file application/config/database.php with your database.
Now you can run project
$ bin/server.sh
$ composer update #update php dependences
$ bower update #update js/css dependences
You must update files manually if files in application
folder or index.php
change. Check CodeIgniter User Guide.