Download the PHP package voskobovich/yii2-admin-toolkit without Composer
On this page you can find all versions of the php package voskobovich/yii2-admin-toolkit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download voskobovich/yii2-admin-toolkit
More information about voskobovich/yii2-admin-toolkit
Files in voskobovich/yii2-admin-toolkit
Download voskobovich/yii2-admin-toolkit
More information about voskobovich/yii2-admin-toolkit
Files in voskobovich/yii2-admin-toolkit
Vendor voskobovich
Package yii2-admin-toolkit
Short Description The foundation for implementing CRUD operations for Yii2
License MIT
Homepage https://github.com/voskobovich/yii2-crud-toolkit
Package yii2-admin-toolkit
Short Description The foundation for implementing CRUD operations for Yii2
License MIT
Homepage https://github.com/voskobovich/yii2-crud-toolkit
Please rate this library. Is it a good library?
Informations about the package yii2-admin-toolkit
Yii2 CRUD Toolkit
It is a framework to quickly build controllers for your Yii2 application.
Example
Your controller can look like this
Action Params
Param name | Description |
---|---|
modelClass | Class name of your ActiveRecord model or form which extend voskobovich\base\forms\FindableFormAbstract from yii2-base-toolkit. |
viewFile | The name of view file. |
viewParams | The view additional params. |
redirectUrl | The route which will be redirected after the user action. |
scenario | The scenario to be assigned to the model before it is validated and updated. |
primaryKeyParam | The name of the GET parameter that stores the primary key of the model. |
successCallback | Is called when a successful result. |
errorCallback | Is called when a failed result. |
beforeRun | This method is called right before run() is executed. You may override this method to do preparation work for the action run. If the method returns false, it will cancel the action. |
afterRun | This method is called right after run() is executed. You may override this method to do post-processing work for the action run. |
loadedModel | The previously loaded object of modelClass. |
This is only the basic parameters of the action. For details see the source code.
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
CODE ECOLOGY
To auto fix the code format:
All versions of yii2-admin-toolkit with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
yiisoft/yii2 Version ^2.0.0
voskobovich/yii2-base-toolkit Version ^2.1.0
yiisoft/yii2 Version ^2.0.0
voskobovich/yii2-base-toolkit Version ^2.1.0
The package voskobovich/yii2-admin-toolkit contains the following files
Loading the files please wait ....