2017 © Pedro Peláez
 

library customrestful

custom restful resource controller for laravel

image

jacksunny/customrestful

custom restful resource controller for laravel

  • Tuesday, August 8, 2017
  • by jacksunny2020
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

customrestful

custom restful resource controller plugin for laravel, (*1)

How to install and configurate package, (*2)

  1. install the laravel package composer require jacksunny/customrestful, (*3)

  2. add restful route in route file like routes/web.php Route::resource('model', 'ModelController');, (*4)

  3. create the resource controller named ModelController php artisan make:controller ModelController --resource, (*5)

  4. append new service provider file line in the section providers of file app.config after appended,it should looks like 'providers' => [ Illuminate\Auth\AuthServiceProvider::class, ...... Jacksunny\CustomRestful\CustomRestfulServiceProvider::class, ],, (*6)

  5. test if it works http://localhost/model/query?view=card, (*7)

  6. if you need to custom diff route , related controller method mapping and acceptable route method, just modify each ResourceRegistrarRuleXXX class or create new registrar rule class which implements ResourceRegistrarRuleContract, (*8)

  7. please notify me if you got any problem or error on it,thank you!, (*9)

The Versions

08/08 2017

dev-master

9999999-dev

custom restful resource controller for laravel

  Sources   Download

The Requires

 

by Avatar jacksunny2020

26/06 2017

v1.0

1.0.0.0

custom restful resource controller for laravel

  Sources   Download

The Requires

 

by Avatar jacksunny2020

09/06 2017

v0.7

0.7.0.0

custom restful resource controller for laravel

  Sources   Download

The Requires

 

by Avatar jacksunny2020