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

This package is auto-updated.

Last update: 2024-01-26 17:50:11 UTC


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)

hi@malico.me