malico / laravel-graphiql
GraphiQL in Laravel Application
This package's canonical repository appears to be gone and the package has been frozen as a result.
1.1
2023-04-26 16:11 UTC
Requires
- illuminate/support: ^6.0|^7.0|^8.0|^9.0|^10.0
README
GraphiQL for Laravel GraphQL Applications
Installation
composer require malico/laravel-graphiql
Publish assets with
php artisan vendor:publish --tag=graphiql-assets --force
There's a configuration file which is optional which you can publish with. It has little customization like uri to use, graphql endpoint url, domains. Also allows you to decide if you want to enable graphiql in production.
php artisan vendor:publish --tag=graphiql-config
Usage
Visit /graphiql
to access explore your schema.
Author
Malico (Ndifon Desmond Yong)