dipeshsukhia / laravel-api-develop
Develop rest APIs for Laravel
Fund package maintenance!
dipeshsukhia
Requires
- php: >=8.0
- illuminate/support: ^9.0|^10.0
Requires (Dev)
- orchestra/testbench: ^8.0
- phpunit/phpunit: ^9.0|^10.0
README
Develop(Export) Laravel REST apis with form request, api resources and collections.
Installation
You can install the package via composer:
composer require dipeshsukhia/laravel-api-develop
Usage
php artisan develop-api:install
use trait in App\Exceptions\Handler.php
use App\Exceptions\Traits\ApiHandlerTrait; class Handler extends ExceptionHandler { use ApiHandlerTrait;
php artisan develop-api --model=User
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email dipesh.sukhia@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.