A set of Yii2 helpers
Run
composer require "demi/helpers" "dev-master"
For enabling PHP 5.5 password hashing by Yii secure component: In config file common/config/main.php:
return [
'components' => [
'security' => [
'passwordHashStrategy' => 'password_hash',
],
],
];
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'],
],
]); ?>