stefanorg / zend-expressive-graphiql
Zend Expressive GraphiQL extension
Installs: 47
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Language:HTML
Requires
- php: ^5.6 || ^7.0
- zendframework/zend-expressive-twigrenderer: ^1.0
- zendframework/zend-stdlib: ^2.7 || ^3.0
Requires (Dev)
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: ^2.5
This package is not auto-updated.
Last update: 2025-02-15 22:10:10 UTC
README
GraphQL in-browser interface to explore graphql server
Assets
You need to copy the graphql assets in your public assets folder.
Template
A twig template is provided but you can write your own template using the template engines supported by zend-expressive
If you want to override the default configuration, add a configuration for graphql::graphiql
template in your templates.global.php
and place the graphiql.html.php
'templates' => [
'extension' => 'html.php', //<-- Your extension
'paths' => [
'graphql' => ['templates/graphql'],
...
],
],