Package Data | |
---|---|
Maintainer Username: | tiagomichaelsousa |
Maintainer Contact: | tiagomichaelsousa@gmail.com (tiagomichaelsousa) |
Package Create Date: | 2020-01-29 |
Package Last Update: | 2023-05-06 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:19:22 |
Package Statistics | |
---|---|
Total Downloads: | 12,994 |
Monthly Downloads: | 94 |
Daily Downloads: | 2 |
Total Stars: | 158 |
Total Watchers: | 4 |
Total Forks: | 16 |
Total Open Issues: | 0 |
Laravel Resources is a speed-up development package that allows you to create a boilerplate for Laravel apps with a default API structure.
Via Composer
$ composer require tiagomichaelsousa/laravelresources --dev
Create the resources
$ php artisan resources:create <model>
This command will create the Controller, the Request, the Policy, the API Resource and Collection and will also add the default routes for the API.
Publish configuration file
$ php artisan vendor:publish --provider="tiagomichaelsousa\LaravelResources\LaravelResourcesServiceProvider" --tag="config"
Notes:
Please see the changelog for more information on what has changed recently.
$ composer test
$ composer test-report
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email the author instead of using the issue tracker.
License MIT. Please see the license file for more information.
Please see the code of conduct for more information.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!