Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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'],
...
],
],
```