roboapp/crud

Roboapp CRUD actions

This package's canonical repository appears to be gone and the package has been frozen as a result.

v1.0.1 2016-06-11 06:59 UTC

This package is not auto-updated.

Last update: 2021-01-20 06:37:48 UTC


README

Scrutinizer Coverage Scrutinizer Build Status GitHub license Yii2

CRUD actions for Yii2 by Roboapp CMS

Install

Via Composer

$ composer require roboapp/crud

Usage

use roboapp\crud\Index;

class MyController extends Controller
{
    public function actions()
    {
        return [
            ...
            'action-name' => [
                'class' => Index::className(),
                'searchModel' => MyModel::className(),
                'nameVariableDataProvider' => 'data'
            ],
            ...
        ];
    }
    ...
}

Documentation

Definitive guide to CRUD actions

Testing

$ composer test

License

The MIT License (MIT). Please see License File for more information.