samyoteroglez/larawesomecrud
最新稳定版本:1.2.0
Composer 安装命令:
composer require samyoteroglez/larawesomecrud
包简介
CRUD generator for Laravel. Generates models, controller and views based on the database tables. This project is based on kEpEx/laravel-crud-generator from Alfredo Aguirre (alfrednx@gmail.com).
关键字:
README 文档
README
Everything is awesome! o(Oo,)o
###A CRUD generator for Laravel. Generates models, controller and views based on the database tables.
#Requirements
Laravel 5.1
Laravel collective
twitter-bootstrap
datatables
#Install
###Step 1
composer require samyoteroglez/larawesomecrud
###Step 2
Add your new provider to the providers array of config/app.php:
CrudGenerator\CrudGeneratorServiceProvider::class,
###Step 3
Boom! Enjoy it.
#Usage
Use a table name, a list of table names as the input or just generate all the database.
###CRUD for all database
php artisan make:crud all
php artisan make:crud --all
php artisan make:crud -a
php artisan make:crud
###CRUD for one table
php artisan make:crud table_1
###CRUD for a list of tables
php artisan make:crud table_1,table_2,table_3 --only
php artisan make:crud table_1,table_2,table_3 -o
###CRUD for all except for the tables in a given list
php artisan make:crud table_1,table_2,table_3 --all-but
php artisan make:crud table_1,table_2,table_3 -b
###Generate Form Requests
php artisan make:crud table_1 --formrequest
php artisan make:crud table_1 -r
###Add links to the dashboard menu
php artisan make:crud table_1 --dashboard-menu
php artisan make:crud table_1 -m
###To check all the options
php artisan help make:crud
###Custom Templates
###Use a custom layout
php artisan make:crud all --master-layout=layouts.master
###Customize your own templates
php artisan vendor:publish
#Contact GitHub: SamyOteroGlez Twitter: @SamyOteroGlez
###This project is based on [kEpEx/laravel-crud-generator] (https://github.com/kEpEx/laravel-crud-generator) from Alfredo Aguirre (alfrednx@gmail.com).
#License MIT License SamyOteroGlez & contributors
统计信息
- 总下载量: 488
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-21
