this is starter kit for codeigniter framework and using
- import database mysql from file
db/uf_ciwebpack_starter.sql - create virtual host with
publicfolder asDocumentRoot - user:
administratorand pass:qwerty
npm run start: before developing, make sure you have run the webpack dev server firstnpm run build: ready to deploy. The deploy files will be stored in thepublic/distfolder
application_helper.php
- indoDate($timestamp = '', $date_format = 'l, j F Y | H:i', $suffix = '') : format datetime with indonesia language
- terbilang($number, $suffix = 'rupiah') : Currency with indonesia language
- dbPrefix($table) : call table name with prefix
- bgExec($command) : execute command shell in the background
- Asset and Templating system
- Debugger bar
webapp/
├── composer.json
├── package.json
├── application/
│ ├── ...
│ ├── modules
│ ├── themes
├── public/
│ ├── assets
│ ├── dist
│ ├── .htaccess
│ └── index.php
└── vendor/
└── codeigniter/
└── framework/
└── system/
- PHP 5.3.7 or later
composercommand (See Composer Installation)- Nodejs
$ cd /path/to/codeigniter
$ composer update
You must update files manually if files in application folder or index.php change. Check CodeIgniter User Guide.