Download the PHP package rafflesargentina/l8-restful-controller without Composer
On this page you can find all versions of the php package rafflesargentina/l8-restful-controller. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rafflesargentina/l8-restful-controller
More information about rafflesargentina/l8-restful-controller
Files in rafflesargentina/l8-restful-controller
Download rafflesargentina/l8-restful-controller
More information about rafflesargentina/l8-restful-controller
Files in rafflesargentina/l8-restful-controller
Vendor rafflesargentina
Package l8-restful-controller
Short Description RESTful Controller for Laravel 8
License MIT
Homepage https://github.com/rafflesargentina/l8-restful-controller
Package l8-restful-controller
Short Description RESTful Controller for Laravel 8
License MIT
Homepage https://github.com/rafflesargentina/l8-restful-controller
Keywords restful controllerlaravel 8
Please rate this library. Is it a good library?
Informations about the package l8-restful-controller
RESTful Controller for Laravel 8
RESTful Controller for Laravel 8
Install
Via Composer
Usage
Create a controller like you normally would and change it to extend ResourceController class. Then set $repository an $resourceName properties:
- $repository: The Repository class to instantiate.
- $resourceName: Set routes resource name.
Also you can set these optional properties:
- $alias: The alias for named routes.
- $theme: The location for themed views.
- $module: Set views vendor location prefix.
- $prefix : The vendor views prefix.
- $formRequest: The FormRequest class to instantiate (also take a look at l5-action-based-form-request).
- $useSoftDeletes: Define if model uses SoftDeletes.
- $infoFlashMessageKey: The info flash message key.
- $errorFlashMessageKey: The info flash message key.
- $successFlashMessageKey: The info flash message key.
- $warningFlashMessageKey: The info flash message key.
Example:
And that's it :)
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Mario Patronelli
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of l8-restful-controller with dependencies
PHP Build Version
Package Version
The package rafflesargentina/l8-restful-controller contains the following files
Loading the files please wait ....