getpop / graphql-request
This package is abandoned and no longer maintained.
The author suggests using the graphql-by-pop/graphql-request package instead.
Enables GraphQL for PoP to process the GraphQL query using the standard syntax
dev-master / 1.0.x-dev
2020-08-08 04:30 UTC
Requires
- php: ~7.2
- graphql-by-pop/graphql-query: dev-master
Requires (Dev)
- phpstan/phpstan: ^0.12
- phpunit/phpunit: >=8.5
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2020-08-08 04:39:59 UTC
README
Enables GraphQL for PoP to process the GraphQL query using the standard syntax
Install
Via Composer
composer require graphql-by-pop/graphql-request
Usage
Initialize the component:
\PoP\Root\ComponentLoader::initializeComponents([ \PoP\GraphQLAPIRequest\Component::class, ]);
Standards
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
composer test
Static Analysis
Execute phpstan with level 5:
composer analyse
To run checks for level 0 (or any level from 0 to 8):
./vendor/bin/phpstan analyse -l 0 src tests
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email leo@getpop.org instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.