2017 © Pedro PelΓ‘ez
 

library laravelcrud

Artisan command to generate routing, views and controllers from a database table

image

morganrowse/laravelcrud

Artisan command to generate routing, views and controllers from a database table

  • Monday, July 30, 2018
  • by morganrowse
  • Repository
  • 1 Watchers
  • 2 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 18 Versions
  • 96 % Grown

The README.md

Laravel CRUD

Downloads Version Travis Codacy grade, (*1)

This composer package adds artisan commands which create Models, Views, Controllers and Request Validation for crud operation based off of a database table schema., (*2)

Installation

Subheader Image, (*3)

First add the package via composer, (*4)

$ composer require morganrowse/laravelcrud dev-master

Use dev-master as I currently don't push tags, (*5)

Usage

Subheader Image, (*6)

First have your database setup as desired following laravel naming convention (such as a table called posts)., (*7)

Next run the command via artisan, (*8)

$ php artisan make:crud posts

This will create:, (*9)

app
β”‚   Post.php
└───Http
β”‚   └───Controllers
β”‚   β”‚   β”‚   PostController.php
β”‚   |   └───View
β”‚   β”‚   β”‚   |   PostController.php
β”‚   └───Requests
β”‚   β”‚   └───Post
β”‚   β”‚   β”‚   β”‚   DestroyPost.php
β”‚   β”‚   β”‚   β”‚   StorePost.php
β”‚   β”‚   β”‚   β”‚   UpdatePost.php
β”‚   └───Resources
β”‚   β”‚   β”‚   PostResource.php
resources
└───views
β”‚   └───posts
β”‚   β”‚   β”‚   create.blade.php
β”‚   β”‚   β”‚   edit.blade.php
β”‚   β”‚   β”‚   index.blade.php
β”‚   β”‚   β”‚   show.blade.php

Now add the view routes to your web.php, (*10)

...
Route::resource('posts','View\\PostController');
...

Finally add the api routes to your api.php, (*11)

...
Route::apiResource('posts','PostController');
...

Subheader Image, (*12)

The Versions

30/07 2018

dev-feature-codacy-fixes

dev-feature-codacy-fixes https://github.com/morganrowse/laravelcrud

Artisan command to generate routing, views and controllers from a database table

  Sources   Download

MIT

The Requires

 

laravel crud artisan

30/07 2018

dev-master

9999999-dev https://github.com/morganrowse/laravelcrud

Artisan command to generate routing, views and controllers from a database table

  Sources   Download

MIT

The Requires

 

laravel crud artisan

30/07 2018

dev-feature-boosted

dev-feature-boosted https://github.com/morganrowse/laravelcrud

Artisan command to generate routing, views and controllers from a database table

  Sources   Download

MIT

The Requires

 

laravel crud artisan

28/07 2018

0.0.15

0.0.15.0 https://github.com/morganrowse/laravelcrud

Artisan command to generate routing, views and controllers from a database table

  Sources   Download

MIT

The Requires

 

laravel crud artisan

11/07 2018

0.0.14

0.0.14.0 https://github.com/morganrowse/laravelcrud

Artisan command to generate routing, views and controllers from a database table

  Sources   Download

MIT

The Requires

 

laravel crud artisan

05/07 2018

0.0.13

0.0.13.0 https://github.com/morganrowse/laravelcrud

Artisan command to generate routing, views and controllers from a database table

  Sources   Download

MIT

The Requires

 

laravel crud artisan

02/07 2018

0.0.12

0.0.12.0 https://github.com/morganrowse/laravelcrud

Artisan command to generate routing, views and controllers from a database table

  Sources   Download

MIT

The Requires

 

laravel crud artisan

16/07 2017

0.0.11

0.0.11.0 https://github.com/morganrowse/laravelcrud

Artisan command to generate routing, views and controllers from a database table

  Sources   Download

MIT

The Requires

 

laravel crud artisan

15/07 2017

0.0.10

0.0.10.0 https://github.com/morganrowse/laravelcrud

Artisan command to generate routing, views and controllers from a database table

  Sources   Download

MIT

The Requires

 

laravel crud artisan

15/07 2017

0.0.9

0.0.9.0 https://github.com/morganrowse/laravelcrud

Artisan command to generate routing, views and controllers from a database table

  Sources   Download

MIT

The Requires

 

laravel crud artisan

14/07 2017

0.0.8

0.0.8.0 https://github.com/morganrowse/laravelcrud

Artisan command to generate routing, views and controllers from a database table

  Sources   Download

MIT

The Requires

 

laravel crud artisan

14/07 2017

0.0.7

0.0.7.0 https://github.com/morganrowse/laravelcrud

Generate routing, views and controllers from a model

  Sources   Download

MIT

laravel crud artisan

14/07 2017

0.0.6

0.0.6.0 https://github.com/morganrowse/laravelcrud

Generate routing, views and controllers from a model

  Sources   Download

MIT

laravel crud artisan

14/07 2017

0.0.5

0.0.5.0 https://github.com/morganrowse/laravelcrud

Generate routing, views and controllers from a model

  Sources   Download

MIT

The Requires

 

laravel crud artisan

14/07 2017

0.0.4

0.0.4.0 https://github.com/morganrowse/laravelcrud

Generate routing, views and controllers from a model

  Sources   Download

MIT

The Requires

 

laravel crud artisan

14/07 2017

0.0.3

0.0.3.0 https://github.com/morganrowse/laravelcrud

Generate routing, views and controllers from a model

  Sources   Download

MIT

The Requires

 

laravel crud artisan

14/07 2017

0.0.2

0.0.2.0 https://github.com/morganrowse/laravelcrud

Generate routing, views and controllers from a model

  Sources   Download

MIT

The Requires

 

laravel crud artisan

14/07 2017

0.0.1

0.0.1.0 https://github.com/morganrowse/laravelcrud

Generate routing, views and controllers from a model

  Sources   Download

MIT

The Requires

 

laravel crud artisan