ynloultratech / graphql-bundle
基于 GraphQL 便捷创建 API 项目的 Bundle
v1.5.0
2020-02-19 15:53 UTC
Requires
- php: >=7.1
- ext-json: *
- doctrine/annotations: ^1.5
- doctrine/common: ^2.8
- doctrine/doctrine-bundle: ^1.6 | ^2.0
- doctrine/orm: ^2.5
- lcobucci/jwt: ^3.2
- mindplay/readable: ^1.1
- mtdowling/jmespath.php: ^2.4
- myclabs/deep-copy: ^1.7
- symfony/expression-language: ^3.4 || ^4.4
- symfony/form: ^3.4 || ^4.4
- symfony/framework-bundle: ^3.4 || ^4.4
- symfony/process: ^3.4 || ^4.4
- symfony/security-bundle: ^3.4 || ^4.4
- symfony/templating: ^3.4 || ^4.4
- symfony/twig-bundle: ^3.4 || ^4.4
- symfony/validator: ^3.4 || ^4.4
- twig/twig: ^2.0 | ^3.0
- webonyx/graphql-php: ^0.13
Requires (Dev)
- ext-redis: *
- behat/behat: ^3.4
- behat/symfony2-extension: ^2.1
- doctrine/doctrine-fixtures-bundle: ^2.4
- escapestudios/symfony2-coding-standard: 3.x-dev
- fresh/doctrine-enum-bundle: ^6.2
- friendsofsymfony/user-bundle: ^2.1
- fzaninotto/faker: ^1.7
- lexik/jwt-authentication-bundle: ^2.4
- mockery/mockery: ^1.1
- phpunit/phpunit: ^6.2
- symfony/mercure-bundle: ^0.2.0
- symfony/phpunit-bridge: 4.1.12
- symfony/symfony: ^4.2
Suggests
- ext-redis: Needed to support GraphQL subscriptions
- behat/behat: Integration with Behat BDD tests
- behat/symfony2-extension: Integration of Behat tests with Symfony
- doctrine/doctrine-fixtures-bundle: If you want to create test fixtures
- fzaninotto/faker: If you want to generate fake values during tests
- phpunit/phpunit: To use assertions in Behat tests
- symfony/mercure-bundle: Needed to support GraphQL subscriptions
README
框架 (Symfony Bundle),用于基于 GraphQL & Relay 规范 便捷创建 API 项目
- 使用 doctrine 注释的 GraphQL 类型
- GraphQL Relay 规范
- 使用 Mercure 协议的 GraphQL 订阅
- 带有 GraphiQL 的 API 探索器和文档
- 常见的 CRUD 操作(查询 & 变更)
- 使用 Symfony 表单 & 验证器可定制的变更
- 包括 Behat 扩展,便于轻松编写 GraphQL API 测试
- 约定优于配置 方法,避免复杂的配置
文档
完整文档可在 GraphQLBundle 网站上找到。
如果您不知道 GraphQL 是什么,请访问 Facebook 工程团队提供的 官方网站。
贡献
有关如何贡献的信息,请参阅 CONTRIBUTING.md。
版权
本项目采用 MIT 许可证。