mtvee/ci3hmvc

CodeIgniter 3 with HMVC

v0.1.0 2017-11-21 13:57 UTC

This package is not auto-updated.

Last update: 2025-06-22 07:11:48 UTC


README

This is a base package of CodeIgniter with HMVC applied that I use for new projects.

I put index.php into a /public folder as well to keep the other stuff out of the web server path.

Unit Testing

Unit Testing for CI is a pita with PHPUnit so I added and updated an old 2.x unit testing thing I have used for quite some time. The file application\modules\libraries\Ciut.php has all the details if you are interested.

Also

I use Vagrant for development:

composer create-project mtvee/ci3hmvc NAME
cd NAME
composer require laravel/homestead --dev
\\vendor\\bin\\homestead make
vagrant up

Issues

Homestead php 7.1 sql pdo shared lib is busted sometimes. Set the following to use php 5.6 in the Homestead.yaml file.

sites:
    ...
    php: "5.6"