suryahadiningrat / crud-generator
CRUD Generator for laravel included Controller, Model, Request, Repository, Resource
Package info
github.com/suryahadiningrat/crud-generator
Type:laravel-package
pkg:composer/suryahadiningrat/crud-generator
dev-main
2025-02-18 10:49 UTC
Requires
Requires (Dev)
This package is auto-updated.
Last update: 2026-03-19 12:50:24 UTC
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