overblog/graphiql-bundle
Composer 安装命令:
composer require overblog/graphiql-bundle
包简介
Symfony GraphiQLBundle makes possible to render the UI into your symfony project
README 文档
README
This Symfony bundle provides integration of GraphiQL interface to your Symfony application
Installation
a) Download the bundle
In the project directory:
composer require --dev overblog/graphiql-bundle
Symfony Flex installation
Note If you are using Symfony Standard go to the next section
a) Accept the contrib recipes installation from Symfony Flex
- WARNING overblog/graphiql-bundle (0.1): From github.com/symfony/recipes-contrib
The recipe for this package comes from the "contrib" repository, which is open to community contributions.
Do you want to execute this recipe?
[y] Yes
[n] No
[a] Yes for all packages, only for the current installation session
[p] Yes permanently, never ask again for this project
(defaults to n):
b) In case you don't have twig
In the project directory:
composer require twig
If you are using twig ONLY for graphiql you might want to use --dev during composer require
Symfony Standard installation
a) Enable the bundle in the 'dev' section
// in app/AppKernel.php class AppKernel extends Kernel { // ... public function registerBundles() { if (in_array($this->getEnvironment(), array('dev', 'test'))) { // ... $bundles[] = new Overblog\GraphiQLBundle\OverblogGraphiQLBundle(); } } }
b) Enable GraphiQL endpoint
# in app/config/routing_dev.yml overblog_graphiql_endpoint: resource: "@OverblogGraphiQLBundle/Resources/config/routing.xml"
Done
It's done now, navigate to /graphiql in your project url
More
- Custom HTTP headers
- Custom page rendering
- Custom GraphiQL parameters
- Define JavaScript libraries' versions
- Define a custom GraphQL endpoint
Community
- Get some support on Symfony devs Slack on the dedicated channel overblog-graphql.
- Follow us on GitHub
Contributing
overblog/graphiql-bundle 适用场景与选型建议
overblog/graphiql-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6.21M 次下载、GitHub Stars 达 76, 最近一次更新时间为 2017 年 10 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「graphql」 「graphiql」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 overblog/graphiql-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 overblog/graphiql-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 overblog/graphiql-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Easily integrate GraphiQL into your Laravel project
Graphiql UI for laravel
GraphQL authentication for your headless Craft CMS applications.
Easily integrate Altair GraphQL Client into your Laravel project
Authorize introspection documentarion for rebing/graphql-laravel
Sylius backend integration for Vue Storefront 2
统计信息
- 总下载量: 6.21M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 77
- 点击次数: 15
- 依赖项目数: 26
- 推荐数: 2
其他信息
- 授权协议: MIT
- 更新时间: 2017-10-30