rromanovsky / graphiql-middleware
GraphiQL PSR-7 Middleware based on https://github.com/graphql/graphiql
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: >=5.4
- phpunit/php-text-template: ^1.2
- psr/http-message: ^1.0
This package is not auto-updated.
Last update: 2024-04-14 02:13:31 UTC
README
You can add a GraphiQL interface to your project with this PSR-7 Middleware
Install
composer require rromanovsky/graphiql-middleware
Usage
- Slim
use GraphiQLMiddleware\GraphiQLMiddleware; // By default the middleware will be executed on '/graphiql' route $app->add(new GraphiQLMiddleware());