leeroy/sail-graphql-playground
最新稳定版本:v1.0.2
Composer 安装命令:
composer require leeroy/sail-graphql-playground
包简介
GraphQL Playground for SailCMS
README 文档
README
This package provides a graphical UI for GraphQL to test during development. It uses the graphql/graphql-playground library.
Installing
php sail install:official leeroy/sail-graphql-playground
This will install the package using composer and then update your composer file to autoload the package.
If you wish to install it manually, you and perform the following
composer require leeroy/sail-graphql-playground
After that, you can add Leeroy\\GraphQLPlayground to the modules section of the sailcms property of your composer.json file. It should look something like this:
"sailcms": { "containers": ["Spec"], "modules": [ "Leeroy\\GraphQLPlayground" ], "search": {} }
Configuration
When installed, you need to add the following to your .env file.
GRAPHQL_PLAYGROUND=true
Using
Open the /graphql url from your project's url. You are ready to go!
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-09