demi/helpers A set of Yii2 helpers

datetimehelpersstring

yii2-helpers

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'],
    ],
]); ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.0.12 is the latest of 13 releases



GPL-3.0-or-later license
Stats
0 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
195 total downloads