PHPackages                             graphicms/graphql - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. graphicms/graphql

ActiveLibrary[API Development](/categories/api)

graphicms/graphql
=================

Wrapper arround GraphQL package to meet the needs of GraphiCMS

14PHP

Since Feb 26Pushed 7y ago1 watchersCompare

[ Source](https://github.com/graphicms/graphql)[ Packagist](https://packagist.org/packages/graphicms/graphql)[ RSS](/packages/graphicms-graphql/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

GraphQL for Laravel
===================

[](#graphql-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1c1307bf4059f01845bff625808530569e6c80a92637c600bc236e0179a5dabc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f677261706869636d732f6772617068716c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/graphicms/graphql)[![Total Downloads](https://camo.githubusercontent.com/91a46992c286e6a899573feeef016f75294bea7ea0837ee17f0f7eb5cd74ae07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f677261706869636d732f6772617068716c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/graphicms/graphql)

This is the package used by GraphiCMS to serve GraphQL schemas. It is based on [rebing/graphql-laravel](https://github.com/rebing/graphql-laravel) but we had do modify it so meet our needs (a lot of closures support, dynamic queries and mutations and so on). We'll try to keep it in sync with the base package as most as we can.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require graphicms/graphql
```

Usage
-----

[](#usage)

The service auto registers using Laravel's auto discovery package. You can publish the config files of the package using

```
php artisan vendor:publish --provider="Graphicms\GraphQL\GraphQLServiceProvider" --tag=config
```

By default the package publishes the routes with `graphi/` prefix. You can change this in the config file changing the keys `prefix` and `graphiql.prefix`.

This package also comes bundled with [Graphiql](https://github.com/graphql/graphiql), the browser IDE form GraphQl. You can check it out using http://\[yoursite\]//graphi/graphiql/{graphql\_schema?} (this is also configurable).

All the functionality from [rebing/graphql-laravel](https://github.com/rebing/graphql-laravel) exists here too, but we also have a few dynamic queries, types and mutations support.

Documentation will come later.

Warning
-------

[](#warning)

Though this package can be installed standalone, it is meant to be used alongside [GraphiCMS](https://github.com/graphicms/cms), the api-first CMS for Laravel. THE SOFTWARE IS PROVIDED "AS IS", like the License says.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Filip Pacurar](https://github.com/filipac)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e2daa3e2934d64489e7430ec204b6822ccc9e4f97adf4d3f059bc0993a645d6c?d=identicon)[filipac](/maintainers/filipac)

---

Top Contributors

[![filipac](https://avatars.githubusercontent.com/u/271155?v=4)](https://github.com/filipac "filipac (7 commits)")

### Embed Badge

![Health badge](/badges/graphicms-graphql/health.svg)

```
[![Health](https://phpackages.com/badges/graphicms-graphql/health.svg)](https://phpackages.com/packages/graphicms-graphql)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
