Download the PHP package clean-bandits/single-action-resource-controllers-for-laravel without Composer
On this page you can find all versions of the php package clean-bandits/single-action-resource-controllers-for-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package single-action-resource-controllers-for-laravel
About Single Actions Resource Controllers
This package extends Laravel Router with new feature - Route::singleActionResource()
It's combination of Route::resource together
with Single Action Controllers.
If you are interested in small highly cohesive controller classes that follow standard naming convention this package is
definitely for you.
How does it work?
It's really simple:
- Just add new single action resource route in your routes file, e.g
Route::singleActionResource('photos');
- Create new Single Action Controllers for each
action you need, like this:
- This will automatically create these routes:
Installation
You can install the package via composer:
Optionally you can publish the config file with:
This is the contents of the published configuration file:
Testing
All versions of single-action-resource-controllers-for-laravel with dependencies
PHP Build Version
Package Version
The package clean-bandits/single-action-resource-controllers-for-laravel contains the following files
Loading the files please wait ....