noh4ck / graphiql
This package is abandoned and no longer maintained.
No replacement package was suggested.
Graphiql UI for laravel
1.0.3
2019-03-28 08:52 UTC
Requires
- php: >=5.5.9
- laravel/framework: 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*
This package is auto-updated.
Last update: 2024-06-07 01:02:35 UTC
README
This package provides an easy way to include the GraphiQL UI within your laravel project.
Current included version: 0.11.11
Installation
Add this to your composer.json file:
"noh4ck/graphiql": "@dev"
or run composer require "noh4ck/graphiql:@dev"
If you have Laravel 5.5 or above, automatic package discovery will register the provider automatically.
If not, open your config/app.php and add this line in the providers section:
Graphiql\GraphiqlServiceProvider::class
Then run artisan graphiql:publish to publish the assets and the configuration file.
Usage
Per default, the UI is reachable at /graphql-ui
It points to a GraphQL endpoint at the same host under /graphql
For further configuration, look at config/graphiql.php