Download the PHP package rafflesargentina/l5-resource-controller without Composer
On this page you can find all versions of the php package rafflesargentina/l5-resource-controller. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rafflesargentina/l5-resource-controller
More information about rafflesargentina/l5-resource-controller
Files in rafflesargentina/l5-resource-controller
Download rafflesargentina/l5-resource-controller
More information about rafflesargentina/l5-resource-controller
Files in rafflesargentina/l5-resource-controller
Vendor rafflesargentina
Package l5-resource-controller
Short Description Resource Controller for Laravel 5
License MIT
Homepage https://github.com/rafflesargentina/l5-resource-controller
Package l5-resource-controller
Short Description Resource Controller for Laravel 5
License MIT
Homepage https://github.com/rafflesargentina/l5-resource-controller
Keywords resource controllerlaravel 5
Please rate this library. Is it a good library?
Informations about the package l5-resource-controller
Resource Controller for Laravel 5
Resource Controller for Laravel 5
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 l5-resource-controller with dependencies
PHP Build Version
Package Version
The package rafflesargentina/l5-resource-controller contains the following files
Loading the files please wait ....