mdakashmia/laravel-auto-crude
最新稳定版本:v1.3.0
Composer 安装命令:
composer require mdakashmia/laravel-auto-crude
包简介
Laravel Simple Auto Crude Generator
README 文档
README
A simple yet efficient CRUD generator for Laravel that automates the creation of controllers, models, migrations, and views (index, create, store, edit, update, delete, show methods). It also links the generated controller to its respective views.
Installation
composer require mdakashmia/laravel-auto-crude
Configuration
Service Provider Registration
In config/app.php, add in providers array -
'providers' => [ // ... Akash\LaravelAutoCrude\AutoCrudeServiceProvider::class, // ... ],
Use from Console Command Prompt for create Crude
//use the command
php artisan generate:crude {CrudeName}
Example Crude
//suppose i want create a crude name of - Category, then run command php artisan generate:crude Category //suppose i want create a crude name of - Post, then run command php artisan generate:crude Post //suppose i want create a crude name of - Comment, then run command php artisan generate:crude Comment
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-08