Download the PHP package rafni/laravel-toolkit without Composer
On this page you can find all versions of the php package rafni/laravel-toolkit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rafni/laravel-toolkit
More information about rafni/laravel-toolkit
Files in rafni/laravel-toolkit
Package laravel-toolkit
Short Description Some tools for Laravel development, only commands and helpers to streamline developments
License MIT
Informations about the package laravel-toolkit
laravel-toolkit
Versions
This is version 5.1 of the development kit for the Laravel 5.0 framework or higher.
Installation
To install this update your composer.json file to require
Once the dependencies have been downloaded, add the service provider to your config/app.php file
You are done with the installation!
How to use
Once installed, use the scaffold provided by the tool kit is very simple, just write in the artisan console of your project the following command:
Use the command without quotes and in singular.
In the artisan console, if the process was successful, it will give you the access routes of the new generated resource, copy and paste these routes in the route file corresponding to your version of Laravel.
This will automatically generate the following files in your project:
Finally, in order for the contracts injected in the construction of the controllers do not result in a critical error, you must bind them to the service that will manage the service logic.
In your app/providers/AppServiceProvider.php file, bind them as follows:
Documentation
For documentation on this package, please visit the wiki.
Change log
Please see the releases page https://github.com/rafni/laravel-toolkit/releases
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email jose at ditecnologia dot com instead of using the issue tracker.
Credits
- Alberto Rafael
- All Contributors
License
The MIT License (MIT). Please see License File for more information.