- CodeIgniter 3.0.3
- codeigniter-modular-extensions-hmvc codeigniter-3.x (2015-11-04)
- PHPUnit 4.8.21
- ci-phpunit-test 1.0.x@dev
- codeigniter-modular-extensions-hmvc is popular but a very complex system, and is against CodeIgniter's basic design. It brings complexity to CodeIgniter.
- So to work CodeIgniter HMVC and ci-phpunit-test together is still under way. See kenjis/ci-phpunit-test#34.
- If you can avoid to use it, I recommend not use it.
- If you look for only modular system, see https://github.com/kenjis/codeigniter-simple-module.
- If you want reusable widgets, you can find A Simple Widget System in the Book Practical CodeIgniter 3. Or see https://github.com/kenjis/codeigniter-widgets.
- PHP 5.4 or later
- composer
- Please try to use
MX_Controller
instead ofCI_Controller
, if you get errors.
$ git clone https://github.com/kenjis/ci-hmvc-ci-phpunit-test.git
$ cd ci-hmvc-ci-phpunit-test/
$ composer install
$ vendor/bin/phpunit -c application/tests/