adxio / twig-hmvc
Twig and HMVC Integration for Code Igniter 3.x
v2.0.3
2020-02-08 13:15 UTC
Requires
- php: >=7.0
- twig/twig: 2.6.2
README
Twig and HMVC Integration for Code Igniter 3.1.10
Server Requirements
PHP version 7 or newer. Twig 2.6.2 or later.
Folder Structure
root/
└── application/
└── module/
└── welcome/
└── controllers
└── Welcome.php
└── models
└── Model.php
└── views
└── welcome.twig
Installation
With Composer
$ cd /to/path/root/codeigniter
$ composer require adxio/twig-hmvc
For installation following this command
$ php vendor/adxio/twig-hmvc/install.php
And then you must change owner of folder cache
$ sudo chown www-data:www-data application/cache
- You must run at CodeIgniter root folder