New Version August, 2015
- Now with template support
- Yes/No process models
- Yes/No process controllers
This extension queries all tables in a connection database (usually db) and creates all models, controllers and views (CRUD) automatically.
Create the database tables first then run this extension and it will create the majority for you.
Demo: http://demo.c006.us
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-source "c006/yii2-auto-crud" "dev-master"
or add
"c006/yii2-auto-crud": "*"
to the require section of your composer.json
file.
Basic config/web.php
Advanced [backend|frontend|common]/config/main.php
'modules' => [
'crud' => [
'class' => 'c006\crud\Module',
],
...
...
],
Install before using "yii2-auto-crud".
php composer.phar require --prefer-dist "c006/yii2-submit-spinner" "dev-master"
No options for this extension
Pretty Url's /crud
No pretty Url's index.php?r=crud
Update default values
vendor/c006/yii2-auto-crud/models/Crud.php
Please provide any helpful feedback or requests.
Thanks.