dipeshsukhia/laravel-api-develop

Develop rest APIs for Laravel

v1.0.7 2023-07-06 11:09 UTC

This package is auto-updated.

Last update: 2024-12-06 14:15:57 UTC


README

Latest Version on Packagist Total Downloads GitHub Actions

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.