kamrul-haque/action-crud-helper
最新稳定版本:v3.0.1
Composer 安装命令:
composer require kamrul-haque/action-crud-helper
包简介
Generate everything needed for a CRUD operation in Laravel with or without Action classes executing just one command. Also generates frontend scaffolding for blade or vue inertia stack.
README 文档
README
Generate everything needed for a CRUD operation in Laravel with or without Action classes executing just one command. Also generates frontend scaffolding for blade or vue inertia stack.
Installation
- Install the package via composer:
composer require kamrul-haque/action-crud-helper --dev
- Publish stubs for files generated:
php artisan vendor:publish --tag="action-crud-helper-stubs"
Usage
- To generate
CRUDhelpers:
php artisan make:crud ModelName --stack --all
supported stacks are api, blade or inertia (inertia vue). --all option will generate everything required for a CRUD operation along with Action classes. Alternatively, run the command without stack & all options to select files to generate interactively.
- To generate only
Actionclass:
php artisan make:action ActionName
- To customize the
filesgenerated, customize the stubs files located instubsfolder: - To publish the tests:
php artisan vendor:publish --tag="action-crud-helper-tests"
Note: the tests for the package only support PestPHP currently.
统计信息
- 总下载量: 64
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-28