purrdigital / laravel-crud-package
有观点的仓库 CRUD 生成器
v1.0.2
2023-06-17 08:42 UTC
Requires
- php: ^8.0
- illuminate/contracts: ^7.0|^8.0|^9.0|^10.0
- laravel/helpers: ^1.5
- spatie/laravel-package-tools: ^1.9.2
Requires (Dev)
- nunomaduro/collision: ^5.10
- orchestra/testbench: ^6.22
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- phpunit/phpunit: ^9.5
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-09-17 11:19:38 UTC
README
此包将为您创建一个完整的 CRUD 套件。这是基于有观点的仓库模式。此包使用 vue/inertia 作为前端,因此除非您手动更新控制器以与您的前端兼容,否则此包将无法与任何其他前端一起使用。
安装
您可以通过 composer 安装此包
composer require PurrDigital/laravel-crud-package
用法
In the terminal and using php artisan you can run the following command php artisan generate:crud Test
使用上述命令将生成以下内容:
- 控制器
- 模型
- 种子文件
- 策略
- 请求
- 资源
- 接口
- 仓库
- 更新仓库提供者(如果存在)
变更日志
有关最近更改的更多信息,请参阅变更日志。
许可证
MIT 许可证(MIT)。有关更多信息,请参阅许可证文件。