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

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

newman/laravel-graphql-test-utils
=================================

Laravel GraphQL test utilities package. Helps you to test your GraphQL queries &amp; mutations easily.

2.0.0(1y ago)18.2kMITPHPPHP ^8.1CI passing

Since Jan 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/edgarsn/laravel-graphql-test-utils)[ Packagist](https://packagist.org/packages/newman/laravel-graphql-test-utils)[ RSS](/packages/newman-laravel-graphql-test-utils/feed)WikiDiscussions 2.x Synced 1mo ago

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

Laravel GraphQL testing utility
===============================

[](#laravel-graphql-testing-utility)

This package helps you to test your GraphQL queries &amp; mutations in your TestCases. It works with any laravel GraphQL server.

Requirements
------------

[](#requirements)

- Laravel 11.0, 12.0
- PHP 8.2+

For Laravel 8, 9, 10 and PHP 8.0+ see 1.x branch.

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

[](#installation)

Require the package via Composer:

```
composer require newman/laravel-graphql-test-utils
```

📖 Documentation &amp; Usage
===========================

[](#book-documentation--usage)

To start using it, import our trait in your TestCase

```
