Home

Awesome

GraPHPinator PHP codecov

:zap::globe_with_meridians::zap: Easy-to-use & Fast GraphQL server implementation for PHP.

Introduction

Feature complete PHP implementation of GraphQL server. Its job is transformation of query string into resolved Json result for a given Schema.

NameVersionDescription
PrinterGitHub releaseSchema printing for GraPHPinator typesystem.
Extra typesGitHub releaseSome useful directives and commonly used types, both scalar or composite.
Constraint directivesGitHub releaseTypesystem directives to declare additional validation on top of GraphQL typesystem.
Where directivesGitHub releaseExecutable directives to filter values in lists.
UploadGitHub releaseModule to handle multipart-formdata requests.
Query costGitHub releaseModules to limit query cost by restricting maximum depth or number of nodes.
Persisted queriesGitHub releaseModule to persist validated query in cache and improve performace of repeating queries.
NameVersionDescription
PSRBundled
SymfonyGitHub releaseAdapters for Symfony framework.
NetteGitHub releaseAdapters for Nette framework.
NameVersionDescription
SourceGitHub releaseWrapper around source document.
TokenizerGitHub releaseLexical analyzer of GraphQL document.
ParserGitHub releaseSyntactic analyzer of GraphQL document.

Supporters

This project is being made with help by following companies and individuals. Thank you!

Webthinx

Installation

Install package using composer

composer require infinityloop-dev/graphpinator

How to use

Dependencies

This list excludes graphpinator sub-packages such as graphpinator-common, graphpinator-tokenizer and others.

Contributing

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 or discussion. This is not yet another package, where issues and pull-requests lie around for months, so dont hesitate and help us improve the library.