PHPackages                             laragraph/utils - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. laragraph/utils

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

laragraph/utils
===============

Utilities for using GraphQL with Laravel

v2.3.1(3mo ago)2114.9M↓25.2%86MITPHPPHP ^7.2 || ^8CI passing

Since Dec 30Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/laragraph/utils)[ Packagist](https://packagist.org/packages/laragraph/utils)[ Docs](https://github.com/laragraph/utils)[ RSS](/packages/laragraph-utils/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (30)Versions (17)Used By (6)

laragraph/utils
===============

[](#laragraphutils)

[![CI Status](https://github.com/laragraph/utils/workflows/Continuous%20Integration/badge.svg)](https://github.com/laragraph/utils/actions)[![codecov](https://camo.githubusercontent.com/071cc5fb66e906af5f2181ab04568d7568fe15b1612b643613b6f694d30d37a7/68747470733a2f2f636f6465636f762e696f2f67682f6c61726167726170682f7574696c732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/laragraph/utils)

[![Latest Stable Version](https://camo.githubusercontent.com/be1b27597c9c717281cbb787124f8ffca903d6afa86ba97cbca2e475c1409824/68747470733a2f2f706f7365722e707567782e6f72672f6c61726167726170682f7574696c732f762f737461626c65)](https://packagist.org/packages/laragraph/utils)[![Total Downloads](https://camo.githubusercontent.com/74e51ce4762b9a68234a10bc3c2fdf8d680737a861341c0c088bdccb8a097502/68747470733a2f2f706f7365722e707567782e6f72672f6c61726167726170682f7574696c732f646f776e6c6f616473)](https://packagist.org/packages/laragraph/utils)

Utilities for using GraphQL with Laravel

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

[](#installation)

Install through composer

```
composer require laragraph/utils
```

Usage
-----

[](#usage)

This package holds basic utilities that are useful for building a GraphQL server with Laravel. If you want to build an application, we recommend using a full framework that integrates the primitives within this package:

- SDL-first: [Lighthouse](https://github.com/nuwave/lighthouse)
- Code-first: [graphql-laravel](https://github.com/rebing/graphql-laravel)

Changelog
---------

[](#changelog)

See [`CHANGELOG.md`](CHANGELOG.md).

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

[](#contributing)

See [`CONTRIBUTING.md`](.github/CONTRIBUTING.md).

License
-------

[](#license)

This package is licensed using the MIT License.

###  Health Score

59

—

FairBetter than 98% of packages

Maintenance83

Actively maintained with recent releases

Popularity57

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 79.2% 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.

###  Release Activity

Cadence

Every ~126 days

Recently: every ~206 days

Total

16

Last Release

98d ago

Major Versions

v1.6.0 → v2.0.02023-03-20

PHP version history (2 changes)v1.0.0PHP ^7.2 || ^8.0

v1.1.0PHP ^7.2 || ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ff5d1af2c0f601f7ed7e75e15be0aa4c062149b57fd5aace4e44cc37b8b7a40?d=identicon)[spawnia](/maintainers/spawnia)

---

Top Contributors

[![spawnia](https://avatars.githubusercontent.com/u/12158000?v=4)](https://github.com/spawnia "spawnia (84 commits)")[![mfn](https://avatars.githubusercontent.com/u/87493?v=4)](https://github.com/mfn "mfn (12 commits)")[![duncanmcclean](https://avatars.githubusercontent.com/u/19637309?v=4)](https://github.com/duncanmcclean "duncanmcclean (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (1 commits)")[![pyrou](https://avatars.githubusercontent.com/u/235005?v=4)](https://github.com/pyrou "pyrou (1 commits)")[![lukeraymonddowning](https://avatars.githubusercontent.com/u/12202279?v=4)](https://github.com/lukeraymonddowning "lukeraymonddowning (1 commits)")[![JakeBooher](https://avatars.githubusercontent.com/u/179180?v=4)](https://github.com/JakeBooher "JakeBooher (1 commits)")[![k0ka](https://avatars.githubusercontent.com/u/203597?v=4)](https://github.com/k0ka "k0ka (1 commits)")[![bepsvpt](https://avatars.githubusercontent.com/u/8221099?v=4)](https://github.com/bepsvpt "bepsvpt (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/laragraph-utils/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k51.0M7.4k](/packages/larastan-larastan)[nuwave/lighthouse

A framework for serving GraphQL from Laravel

3.5k11.4M110](/packages/nuwave-lighthouse)[spatie/laravel-export

Create a static site bundle from a Laravel app

670139.5k6](/packages/spatie-laravel-export)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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