roboapp/crud

Roboapp CRUD actions

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Maintainers

Details

github.com/roboapp/crud

Source

Issues

Installs: 407

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 2

pkg:composer/roboapp/crud

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.