Skip to content

kemboi22/laravelcrudgenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel CRUD Generator

This package is a Laravel CRUD generator that will generate CRUD code for you simply. This package will reduce the time to create a module in Laravel.

It generates the following code:

  • Model
  • Controller
  • Store and Update Request
  • Resource

Installation

  1. Run
composer require kemboielvis/laravel-crud-generator
  1. To generate Code

    The model name should be inside the App/Models Directory

    For the CRUD to be generated fill out the fillables then run the command below

php artisan crud:generate {ModelName}

The code will be generated in the following directories:

  • Controllers: App/Http/Controllers
  • StoreRequest: App/Http/Requests/{ModelName}/StoreRequest.php
  • UpdateRequest: App/Http/Requests/{ModelName}/UpdateRequest.php
  • Resource: App/Http/Resources/{ModelName}/{ModelName}Resource.php

Warning

When using this code generator you should be careful because it will overwrite the existing files and written code

License

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

For new Features and Bugs and Suggestions

If you have any new features or bugs you can create an issue or create a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages