PHPackages                             marvinrabe/laravel-graphql-test - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. marvinrabe/laravel-graphql-test

ActiveLibrary[Testing &amp; Quality](/categories/testing)

marvinrabe/laravel-graphql-test
===============================

Provides you with a simple GraphQL testing trait.

0.4.1(4y ago)58329.7k↓16.7%2[1 issues](https://github.com/marvinrabe/laravel-graphql-test/issues)MITPHPPHP &gt;=7.0.0

Since May 24Pushed 3y ago2 watchersCompare

[ Source](https://github.com/marvinrabe/laravel-graphql-test)[ Packagist](https://packagist.org/packages/marvinrabe/laravel-graphql-test)[ Docs](https://github.com/marvinrabe/laravel-graphql-test)[ RSS](/packages/marvinrabe-laravel-graphql-test/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (8)Used By (0)

GraphQL Testing Helper for Laravel
==================================

[](#graphql-testing-helper-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2b65962bbd4305b3477ea36de79584e2e4b96378a32c34a04531dbe47a6e3ad9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617276696e726162652f6c61726176656c2d6772617068716c2d746573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marvinrabe/laravel-graphql-test)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ee2a2e922ef243e78b8dc3594e4ef1fbc6b042151828e42bb069ea826d1b7fda/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d617276696e726162652f6c61726176656c2d6772617068716c2d746573742f72756e2d74657374732e796d6c3f6272616e63683d6d6173746572)](https://github.com/marvinrabe/laravel-graphql-test/actions?query=workflow%3ATests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/f7292e8872d6f2d4e1ed8df7639aa4facc1b5514ad4f575a42fdfae80ba97f18/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617276696e726162652f6c61726176656c2d6772617068716c2d746573742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marvinrabe/laravel-graphql-test)

Elegant GraphQL testing utilities for Laravel. Works with any GraphQL library. Especially with [Lighthouse](https://lighthouse-php.com/).

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

[](#installation)

You can install the package via composer:

```
composer require --dev marvinrabe/laravel-graphql-test
```

And then add the trait to your `TestCase` class:

```
