joy/voyager-api

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

Fund package maintenance!
Patreon

v3.2.42 2024-02-24 05:37 UTC

README

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

By 🐼 Ramakant Gangwar.

Screenshot

Latest Version GitHub Workflow Status Total Downloads

Prerequisites

Installation

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

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

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

Working Example

You can try laravel demo here https://joy-voyager.kodmonk.com/api/documentation.

Documentation

Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the joy voyager-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.