⚡🌐⚡ Easy-to-use & Fast GraphQL server implementation for PHP.
Feature complete PHP implementation of GraphQL server. Its job is transformation of query string into resolved Json result for a given Schema.
- Aims to be compliant with the latest draft of GraphlQL specification.
- Includes some opt-in extensions which are out of scope of official specs, such as custom scalars, constraint directives and file upload using multipart-formdata specs.
- Fully typesafe, and therefore minimum required PHP version is 7.4+.
- Sacrafices a tiny bit of convenience for huge amount of clarity and safety - no random configuration
array
s, no variable function arguments, ... - this library doesnt try to save you from verbosity, but makes sure you always know what you've got.
Install package using composer
composer require infinityloop-dev/graphpinator
- PHP >= 7.4
- infinityloop-dev/utils
- Visit our simple Hello world example.
- Or visit the complete Docs.
This package is relatively new so some features might be missing. If you stumble upon something that is not included or is not compliant with the specs, please inform us by creating an issue. This is not yet another package, where issues and pull-requests lie around for months, so dont hesitate and help us improve the library.