suryahadiningrat/crud-generator
Composer 安装命令:
composer require suryahadiningrat/crud-generator
包简介
CRUD Generator for laravel included Controller, Model, Request, Repository, Resource
README 文档
README
crud-generator is a Laravel library that helps you generate CRUD (Create, Read, Update, Delete) operations automatically from a migration file.
Features
- Automatically generate Model, Controller, Routes, and Views from a migration file.
- Creating resource, request, repository, and models
- Easy to use with an Artisan command.
- Highly customizable.
Installation
1. Add the Library to Your Project
If the library is published on Packagist, you can install it using:
composer require suryahadiningrat/crud-generator
Usage
1. Register service provider
Register service provider in boostrap/app.php:
$app->register(\Suryahadiningrat\CrudGenerator\CrudGeneratorServiceProvider::class);
2. Running CRUD Generator
Run the CRUD Generator with:
php artisan crud-generator:generate --migration=CHANGE_WITH_YOUR_MIGRATION_RELATIVE_PATH
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: mit
- 更新时间: 2025-02-19