You can add a GraphiQL interface to your project with this PSR-7 Middleware
composer require rromanovsky/graphiql-middleware
- Slim
use GraphiQLMiddleware\GraphiQLMiddleware; // By default the middleware will be executed on '/graphiql' route $app->add(new GraphiQLMiddleware());