joy/nova-api

This Laravel/Nova module adds REST Api with swagger support to Nova.

Fund package maintenance!
Patreon

v1.0.0 2022-09-06 01:37 UTC

README

This Laravel/Nova module adds REST Api with Passport and Swagger support to Nova.

By 🐼 Ramakant Gangwar.

Screenshot

Latest Version GitHub Workflow Status Total Downloads

Prerequisites

Installation

# 1. Require this Package in your fresh Laravel/Nova project
composer require joy/nova-api

# 2. Publish
php artisan vendor:publish --provider="Joy\NovaApi\NovaApiServiceProvider" --force

# 3. Generate Swagger Docs Json
php artisan joy-nova-api:l5-swagger:generate

Working Example

You can try laravel demo here https://joy-nova.herokuapp.com/api/documentation.

Documentation

Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the joy nova-api? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.

If you've found a bug regarding security please mail gangwar.ramakant@gmail.com instead of using the issue tracker.

Testing

You can run the tests with:

vendor/bin/phpunit

Upgrading

Please see UPGRADING for details.

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 gangwar.ramakant@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.