Skip to content

ufhy/ufhy-ciwebpack-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeigniter starter kit

this is starter kit for codeigniter framework and using

Install

  • import database mysql from file db/uf_ciwebpack_starter.sql
  • create virtual host with public folder as DocumentRoot
  • user: administrator and pass: qwerty

NPM Command

  • npm run start : before developing, make sure you have run the webpack dev server first
  • npm run build : ready to deploy. The deploy files will be stored in the public/dist folder

Helper added

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

Libraries added

  • Asset and Templating system
  • Debugger bar

Folder Structure

webapp/
├── composer.json
├── package.json
├── application/
│   ├── ...
│   ├── modules
│   ├── themes
├── public/
│   ├── assets
│   ├── dist
│   ├── .htaccess
│   └── index.php
└── vendor/
    └── codeigniter/
        └── framework/
            └── system/

Requirements

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

About

Codeigniter webpack starter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published