Project Information
- Name of tool/project: webonyx/graphql-php
- Project home page: https://webonyx.github.io/graphql-php/
- Name of team requesting review: WMDE Engineering / Wikibase Reuse Team
- Primary contact: Wikibase Reuse Team senior engineers @ItamarWMDE @Silvan_WMDE @Jakob_WMDE
- Target date for deployment: 2025-08-31
- Link to code repository / patchset: https://github.com/webonyx/graphql-php
- Link to scc output for general sizing of codebases (https://github.com/boyter/scc): P79009
Description of the tool/project:
PHP implementation of the GraphQL specification based on the reference implementation in JavaScript.
Description of how the tool will be used at WMF:
The Wikibase Reuse Team is currently exploring GraphQL as an alternative data access method. We believe that GraphQL's flexible data retrieval and the ability to traverse linked structures, such as statement properties and statement entity values, are over all a better developer experience for Wikidata/Wikibase data reusers than the existing REST and Action APIs. We also hope to cover some new use cases for which users currently tend to resort to using the SPARQL query service even though no advanced graph queries are needed.
We want to introduce a GraphQL endpoint for Wikibase (Wikibase Repository extension), initially on a Special:WikibaseGraphQL special page (similar to what the GraphQL extension does) to allow read-only queries of item data. As a first step, we will create a prototype to gather user feedback on Beta Wikidata (T399452), and then start the development of the GraphQL endpoint intended for production use after that.
Dependencies
None
Has this project been reviewed before?
No
Working test environment
N/A
Post-deployment
WMDE Engineering / Wikibase Reuse Team