2017 © Pedro Peláez
 

library yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

image

execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  • Monday, May 7, 2018
  • by eXeCUT
  • Repository
  • 1 Watchers
  • 0 Stars
  • 91 Installations
  • PHP
  • 6 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 18 Versions
  • 6 % Grown

The README.md

Yii2 CRUD

It's package for simple creating CRUD from configuring navigation to required controller actions in 3 steps without copy-paste or CRUD generators., (*1)

For license information check the LICENSE-file., (*2)

English documentation is at docs/guide/README.md., (*3)

Русская документация здесь docs/guide-ru/README.md., (*4)

Latest Stable Version Total Downloads Build Status, (*5)

Installation

The preferred way to install this extension is through composer., (*6)

Install

Either run, (*7)

$ php composer.phar require execut/yii2-crud "dev-master"

or add, (*8)

"execut/yii2-crud": "dev-master"

to the require section of your composer.json file., (*9)

Add bootstrap to your application config:, (*10)

return [
    'bootstrap' => [
        'yii2-crud' => [
            'class' => \execut\crud\Bootstrap::class,
        ]
    ]
];

Usage

Let's say you need to make a CRUD for the model execut\books\models\Book To do this, just add the following lines to controller:, (*11)

namespace execut\books\controllers;

use execut\books\models\Book;
use execut\crud\params\Crud;
use yii\web\Controller;
class BooksController extends Controller
{
    public function actions()
    {
        $crud = new Crud([
            'modelClass' => Book::class,
            'modelName' => Book::MODEL_NAME,
        ]);
        return $crud->actions();
    }
}

As a result, a full-fledged CRUD will appear for this model: Books CRUD list Books CRUD form, (*12)

For more details please refer to the documentation docs/guide/README.md., (*13)

Для более подробной информации обращайтесь к документации docs/guide-ru/README.md., (*14)

The Versions

07/05 2018

dev-master

9999999-dev https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

07/05 2018

0.4.1

0.4.1.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

27/02 2018

0.4.0

0.4.0.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

08/12 2017

0.3.3

0.3.3.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

08/12 2017

0.3.4

0.3.4.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

07/11 2017

0.3.1

0.3.1.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

07/11 2017

0.3.2

0.3.2.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

03/11 2017

0.3.0

0.3.0.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

04/10 2017

0.2.8

0.2.8.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

10/09 2017

0.2.7

0.2.7.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

05/09 2017

0.2.6

0.2.6.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

05/09 2017

0.2.5

0.2.5.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

30/08 2017

0.2.4

0.2.4.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

25/08 2017

0.2.3

0.2.3.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

25/08 2017

0.2.2

0.2.2.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

15/08 2017

0.2.1

0.2.1.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

21/07 2017

0.2.0

0.2.0.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud

14/05 2017

0.1.0

0.1.0.0 https://github.com/execut/yii2-crud

Yii2 object for fasted configuration CRUD navigation and actions for models

  Sources   Download

Apache-2.0

The Requires

 

yii2 crud