2017 © Pedro Peláez
 

library laravel-crud

MWI Crud setup for Laravel Projects

image

mwi/laravel-crud

MWI Crud setup for Laravel Projects

  • Friday, April 13, 2018
  • by midwesternInteractive
  • Repository
  • 1 Watchers
  • 0 Stars
  • 161 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 12 Versions
  • 18 % Grown

The README.md

CRUD

We have put together a CRUD command. It will set up all the core files necessary to create a well put together CRUD. Routes and Views will need to be added separately given the complexity of some applications., (*1)

The files included are:, (*2)

  • model
  • controller
  • API controller
  • handler (service)
  • policy
  • request
  • management (trait for additional route method)
  • helpers (trait for manipulating data)
  • transformer (for fractal with API)
  • views (basic crud views)
  • tests (feature and unit examples)

For command help, (*3)

$ php artisan -h make:crud

Required Arguments

First argument is the name of the model. Second Argument is the plural version., (*4)

$ php artisan make:crud SalesTerritory SalesTerritories

Migration

By default this command will also create a migration for the new model. If you'd prefer to not create the migration use the --no-migration option., (*5)

$ php artisan make:crud SalesTerritory SalesTerritories --no-migration

Specific Resources

By default the command will create all of the resources available. If you only need a few resources you may use the --with option. This will prompt for you to specify which resources you need., (*6)

$ php artisan make:crud SalesTerritory SalesTerritories --with

API Resources

If you wish to create the resources for an API you may use the --api option. This will generate a base ApiController if one does not exist along with an api specific controller on top of the normal controller for the model., (*7)

$ php artisan make:crud SalesTerritory SalesTerritories --api

All of these options may be used in conjunction with one another to produce the desired resources., (*8)

The Versions

13/04 2018

dev-master

9999999-dev

MWI Crud setup for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel crud

13/04 2018

v2.1.6

2.1.6.0

MWI Crud setup for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel crud

13/04 2018

v2.1.5

2.1.5.0

MWI Crud setup for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel crud

13/04 2018

v2.1.4

2.1.4.0

MWI Crud setup for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel crud

06/04 2018

v2.1.3

2.1.3.0

MWI Crud setup for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel crud

03/04 2018

v2.1.2

2.1.2.0

MWI Crud setup for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel crud

29/03 2018

v2.0.4

2.0.4.0

MWI Crud setup for Laravel Projects

  Sources   Download

MIT

laravel crud

29/03 2018

v2.0.3

2.0.3.0

MWI Crud setup for Laravel Projects

  Sources   Download

MIT

laravel crud

29/03 2018

2.0.0

2.0.0.0

MWI Crud setup for Laravel Projects

  Sources   Download

MIT

laravel crud

24/01 2018

v1.0.2

1.0.2.0

MWI Crud setup for Laravel Projects

  Sources   Download

MIT

laravel crud

24/01 2018

v1.0.1

1.0.1.0

MWI Crud setup for Laravel Projects

  Sources   Download

MIT

laravel crud

19/12 2017

v1.0.0

1.0.0.0

MWI Crud setup for Laravel Projects

  Sources   Download

MIT

laravel crud