graphqlite VS graphql-php

Compare graphqlite vs graphql-php and see what are their differences.

graphqlite

Use PHP Attributes/Annotations to declare your GraphQL API (by thecodingmachine)

graphql-php

PHP implementation of the GraphQL specification based on the reference implementation in JavaScript (by webonyx)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
graphqlite graphql-php
6 8
552 4,603
1.1% 0.3%
8.1 9.0
5 days ago 6 days ago
MDX PHP
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

graphqlite

Posts with mentions or reviews of graphqlite. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-11.

graphql-php

Posts with mentions or reviews of graphql-php. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-25.
  • graphql-laravel 9.0.0 released 🎉
    2 projects | /r/laravel | 25 Jun 2023
    This package provides a convenient integration of the great https://github.com/webonyx/graphql-php/ library for Laravel 9+.
  • GraphQLite v6.0 Released - Introducing a more Succinct Syntax
    5 projects | /r/PHP | 11 Jun 2022
    What would be the purpose of defining a schema in "SQL" for an annotation driven schema design? If you want to define your schema GraphQL SQL, you should just use https://github.com/webonyx/graphql-php directly. GraphQLite is built on top of this lib, simply allowing you to define your schema via annotations, then builds out and cache's the SDL for you.
  • Shill me on Apollo client.
    2 projects | /r/reactjs | 25 Jan 2022
    Why would I want to use Apollo Client? So far in my career I have used some server graphql scaffolding (webonyx/graphql-php for PHP and mercurius for Node) and just used the fetch API (or whatever ajax API around XMLHttpRequest) against that server with the body being an object with
  • New GraphQL implementation is up to two times as fast as webonyx/graphql-php
    8 projects | /r/PHP | 2 Jun 2021
    After all your great feedback (see previous post) we adapted the library and wrote a benchmark tool to compare our GraphQL implementation (https://github.com/joonlabs/php-graphql) against the currently most used one (https://github.com/webonyx/graphql-php). Depending on the query we were able to achieve a speed improvement of up to 50% - please head to the document for more (technical) information, thoughts and explanations.
  • Best way to hit multiple endpoints on app open
    1 project | /r/reactnative | 5 Feb 2021
    Check out https://github.com/webonyx/graphql-php
  • Introducing GraphQL by PoP, a CMS-agnostic GraphQL server in PHP
    6 projects | /r/PHP | 22 Jan 2021
    what's wrong with the reference implementation? https://github.com/webonyx/graphql-php 🤔
  • Problem with API
    2 projects | /r/PHPhelp | 17 Jan 2021
    GraphQL API's are not very simple to use with plain PHP. I recommend to use a decent GraphQL PHP library to make your life easier. Webonyx Graphql PHP is the one I use in my project. https://github.com/webonyx/graphql-php

What are some alternatives?

When comparing graphqlite and graphql-php you can also consider the following projects:

lighthouse - A framework for serving GraphQL from Laravel

HAL - application/hal builder / formatter for PHP 5.4+

async-graphql - A GraphQL server library implemented in Rust

graphql-benchmarks - A comparison of the two PHP GraphQL implementations webonyx/graphql-php and joonlabs/php-graphql

graphql-doctrine - Automatic GraphQL types from Doctrine entities

graphqlite-laravel - A Laravel service provider package to help you get started with GraphQLite in Laravel.

GatoGraphQL - Interact with all your data in WordPress using GraphQL

graphql-api-for-wp - [READ ONLY] GraphQL API for WordPress

graphpinator - :zap::globe_with_meridians::zap: Easy-to-use & Fast GraphQL server implementation for modern PHP. Includes features from latest draft, middleware directives and modules with extra functionality.

php-graphql - A PHP implementation of the GraphQL specifications