demi / helpers
A set of Yii2 helpers
Installs: 195
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- demi/php-timelog: ^1.0
- yiisoft/yii2: *
README
A set of Yii2 helpers
Installation
Run
composer require "demi/helpers" "dev-master"
Configuration
For enabling PHP 5.5 password hashing by Yii secure component: In config file common/config/main.php:
return [ 'components' => [ 'security' => [ 'passwordHashStrategy' => 'password_hash', ], ], ];
Usage
gii model generator
$config['modules']['gii'] = [ 'class' => 'yii\gii\Module', 'generators' => [ 'model' => [ 'class' => 'yii\gii\generators\model\Generator', 'templates' => ['my_model' => '@demi/helpers/gii'], ] ] ];
big action grid column
<?= GridView::widget([ 'columns' => [ ['class' => 'demi\helpers\grid\BigActionColumn'], ], ]); ?>