ynloultratech / graphql-bundle
Bundle designed to easily create API projects based on GraphQL
Installs: 14 026
Dependents: 1
Suggesters: 0
Security: 0
Stars: 6
Watchers: 5
Forks: 2
Open Issues: 1
Type:symfony-bundle
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
Framework (Symfony Bundle) designed to easily create API projects based on GraphQL & Relay Specification
- GraphQL types using doctrine annotations
- GraphQL Relay Specification
- GraphQL Subscriptions using Mercure protocol
- API explorer and documentation with GraphiQL
- Common CRUD operations (Queries & Mutations)
- Customizable mutations using Symfony Forms & Validator
- Behat extension included to write GraphQL API tests easily
- Convention over configuration approach to avoid complicated configurations
Documentation
Full documentation is available on the GraphQLBundle site.
If you don't know what GraphQL is, visit this official website by the Facebook engineering team.
Contribute
Please refer to CONTRIBUTING.md for information on how to contribute.
Copyright
This project is licensed under the MIT license.