Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stefanorg/zend-expressive-graphiql
Zend Expressive GraphiQL extension
https://github.com/stefanorg/zend-expressive-graphiql
Last synced: about 1 month ago
JSON representation
Zend Expressive GraphiQL extension
- Host: GitHub
- URL: https://github.com/stefanorg/zend-expressive-graphiql
- Owner: stefanorg
- Created: 2016-11-16T08:54:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-18T10:37:20.000Z (almost 8 years ago)
- Last Synced: 2024-08-01T22:50:58.356Z (4 months ago)
- Language: HTML
- Size: 269 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-graphql - Zend Expressive GraphiQL Extension - GraphiQL extension for zend expressive (Libraries / PHP Libraries)
- awesome-graphql - Zend Expressive GraphiQL Extension - GraphiQL extension for zend expressive (Libraries / PHP Libraries)
README
# Zend Expressive GraphiQL extension
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'],
...
],
],
```