naowas/crud-generator
最新稳定版本:v1.0.0-alpha
Composer 安装命令:
composer require naowas/crud-generator
包简介
Simple Laravel Crud Generator
README 文档
README
A simple Laravel package for generating CRUD for your Laravel Applications. This package provides a convenient way to generate the boilerplate code necessary for complete CRUD functionality.
Requirements
Laravel >= 9.0
PHP >= 8.0
Installation
Require this package in your Laravel project using composer:
composer require naowas/crud-generator
Once installed, publish the stubs/views using php artisan vendor:publish artisan command:
php artisan vendor:publish --provider="Naowas\CrudGenerator\CrudGeneratorServiceProvider"
Usage
This package offers a single Artisan command to generate CRUD components for a specific model:
php artisan generate:crud YourModelName
The command will generate:
- Model
- Controller
- FromRequest
- Migration
- View (index,create,update,show)
_Please note that you'll need to customize the migration file to define the database columns according to your specific business requirements._
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-09