parkash_suther/auto-crud-generator
Composer 安装命令:
composer require parkash_suther/auto-crud-generator
包简介
Auto CRUD generator helps to save your time and implement complete CRUD with commands.
README 文档
README
1. Execute this command to initail
php artisan make:command CustomControllerCommand
2. Replace with given file on CustomControllerCommand.php in commands folder
3. Register the Custom Command:
Register your custom Artisan command in the app/Console/Kernel.php file:
protected $commands = [
\App\Console\Commands\CustomControllerCommand::class,
];
4. Execute this command on terminal
php artisan custom:controller Accounts --var=title:string --var=bank_id:integer --var=phone:string --var=email:string --var=status:integer --route=accounts
Helps
1. var : var use to add column to database column this will also assing filds to blade, model, and migration with data type.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2023-10-24