iamchris/laravel-autocrud
最新稳定版本:1.0.2
Composer 安装命令:
composer require iamchris/laravel-autocrud
包简介
A Laravel package to generate CRUD scaffolding inspire by Symfony's make:crud.
README 文档
README
A Laravel package to generate CRUD scaffolding inspire by Symfony's make:crud.
Features
- Generates laravel controller, Blade, Route for CRUD operations (Index, Create, Edit, Show).
- Supports dynamic form generation based on the model's fillable fields.
- Easy to use with a single Artisan command.
Requirements
- PHP 8.1 or higher
- Laravel 11 or 12
Installation
- Install via Composer:
Run the following command in your Laravel project:
composer require iamchris/laravel-autocrud
Publish the Package Configuration (if applicable):
php artisan vendor:publish --provider="iamchris\LaravelCrud\LaravelCrudServiceProvider" --tag=laravel-autocrud-stubs
To generate CRUD scaffolding for a model, run:
php artisan make:crud ModelName
After running the make:crud command, the following will be generated:
Controller: App\Http\Controllers\ModelNameController
Views: resources/views/model-name/ (index, create, edit, show)
Routes: Resource routes in routes/web.php
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-2.1-only
- 更新时间: 2025-03-19