LaravelPackages.net
Acme Inc.
Toggle sidebar
dottystyle/laravel-crud-generator

2.553
1
1.1.3
About dottystyle/laravel-crud-generator

dottystyle/laravel-crud-generator is a Laravel package. It currently has 1 GitHub stars and 2.553 downloads on Packagist (latest version 1.1.3). Install it with composer require dottystyle/laravel-crud-generator. Discover more Laravel packages by dottystyle or browse all Laravel packages to compare alternatives.

Last updated

Laravel CRUD generator

This package was created mainly for Dottystyle developers. The function of this package is to scaffold the very basic purpose of a CRUD. It creates the following:

  • Controller
  • Model
  • Resource
  • Request

Installation

  1. Install the package

     $ composer require dottystyle/laravel-crud-generator
    
  2. Publish vendor

     $ php artisan vendor:publish --provider="Dottystyle\LaravelCrudGenerator\Providers\LaravelCrudGeneratorServiceProvider"
    
  3. Edit config/app.php (Add the following)

     service provider:
     Dottystyle\LaravelCrudGenerator\Providers\LaravelCrudGeneratorServiceProvider::class,
    

Using this package

  1. Building CRUD for api resources

     php artisan make:crud  ModelName --api
    
  2. Building a simple CRUD

     php artisan make:crud ModelName
    
  3. Building a simple CRUD with service

     php artisan make:crud ModelName --with-service
    
  4. Building a simple Service with Interface

     php artisan make:service ServiceName
    

Star History Chart