Gii Tasty Templates
Tasty templates for the Gii code generator., (*1)
Installation
Please download using ONE of the following methods:, (*2)
Composer Installation
All requirements are automatically downloaded into the correct location when using composer. There is no need to download additional files or set paths to third party files., (*3)
Get composer:, (*4)
curl http://getcomposer.org/installer | php
Install latest release OR development version:, (*5)
php composer.phar require cornernote/gii-tasty-templates:* // latest release
php composer.phar require cornernote/gii-tasty-templates:dev-master // development version
Manual Installation
Download the latest release or development version and move the audit
folder into your protected/modules
folder., (*6)
Configuration
Add the path to gii-tasty-templates
to the generatorPaths
in your gii configuration:, (*7)
return array(
'modules' => array(
'gii' => array(
'class'=>'system.gii.GiiModule',
'generatorPaths' => array(
// use this if you installed with composer
'/path/to/vendor/cornernote/gii-tasty-templates/tasty',
// OR, use this if you downloaded into your extensions folder
//'ext.gii-tasty-templates.tasty',
),
),
),
);
Support
License
BSD-3-Clause, Copyright © 2013-2014 Mr PHP, (*8)