Download the PHP package clean-bandits/single-action-resource-controllers-for-laravel-dingo-api without Composer
On this page you can find all versions of the php package clean-bandits/single-action-resource-controllers-for-laravel-dingo-api. 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-dingo-api
Single Actions Resource Controllers for Laravel Dingo API
This package extends Dingo API with new feature - Route::resource combined with "Single Action Controllers".
How does it work?
It's really simple,
- Just add new route like this
$api->singleActionResource('payments-by-link', ['uses' => 'PaymentByLink']);
- Create new single action (invokable) controllers for each action you need, like this.
- Each controller should have public function __invoke
Installation
composer require clean-bandits/single-action-resource-controllers-for-laravel-dingo-api
In DingoServiceProvider add this code
All versions of single-action-resource-controllers-for-laravel-dingo-api with dependencies
PHP Build Version
Package Version
The package clean-bandits/single-action-resource-controllers-for-laravel-dingo-api contains the following files
Loading the files please wait ....