pacgen/crud-generator

Generate CRUD operations for Laravel models with views, controllers, and routes.

v1.0 2024-09-22 17:28 UTC

This package is auto-updated.

Last update: 2025-06-28 13:45:49 UTC


README

Laravel CRUD Generator is a package that simplifies the process of generating CRUD (Create, Read, Update, Delete) operations for your Laravel applications this will save you a lot of your time so you can concentrate on important things for your development.

Installation

You can install the package via Composer.

For Laravel 8.x or later

Run the following command to require the package:

composer require pacgen/crud-generator

## To generate CRUD
php artisan crud:generate ModelName

This command will generate:
A model with migration
A controller with all resourceful methods
Views (index, create, edit, show)
Routes for the CRUD operations

Configuration
However, you can customize the generated views and controllers as needed for your application. also you need to manually import the Model class in the controller 

Contributing
If you find this project helpful and want to support its development, you can donate via:
- **[PayPal] email(andrewkhabweri@gmail.com)**: You can donate securely via PayPal.

Your contributions will help in maintaining and improving this project. Thank you for your support!

License
The Laravel CRUD Generator is open-source software licensed under the MIT license.