PHPackages                             mll-lab/laravel-graphql-voyager - 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. mll-lab/laravel-graphql-voyager

ActiveLibrary[API Development](/categories/api)

mll-lab/laravel-graphql-voyager
===============================

Easily integrate GraphQL Voyager into your Laravel project

v2.3.0(2y ago)436.1k↓32.7%4[1 PRs](https://github.com/mll-lab/laravel-graphql-voyager/pulls)MITPHPPHP ^7.4 || ^8CI passing

Since Feb 24Pushed 2mo ago1 watchersCompare

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

READMEChangelog (9)Dependencies (11)Versions (10)Used By (0)

Laravel GraphQL Voyager
=======================

[](#laravel-graphql-voyager)

Easily integrate [GraphQL Voyager](https://github.com/APIs-guru/graphql-voyager) into your Laravel projects.

[![Continuous Integration](https://github.com/mll-lab/laravel-graphql-voyager/workflows/Validate/badge.svg)](https://github.com/mll-lab/laravel-graphql-voyager/actions)[![PHPStan](https://camo.githubusercontent.com/441b5874ce4df0a2defc892979c96c46889b69cb32119d04f0b48626349f8bc9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/phpstan/phpstan)

[![GitHub license](https://camo.githubusercontent.com/d2da92913893d02fd7862b06c612c6778c8f2013c161a637f0802cafe4ac3ce1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6c6c2d6c61622f6c61726176656c2d6772617068716c2d766f79616765722e737667)](https://github.com/mll-lab/laravel-graphql-voyager/blob/master/LICENSE)[![Packagist](https://camo.githubusercontent.com/d7308d838c31af472e0ba794346641bdafe2637c4796cbeac7d347820e261f09/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6c6c2d6c61622f6c61726176656c2d6772617068716c2d766f79616765722e737667)](https://packagist.org/packages/mll-lab/laravel-graphql-voyager)[![Packagist](https://camo.githubusercontent.com/a0f86a6f31f1b7da0f375c4c958bdec8005b7c9b94e75273b1e285a0c7ee0916/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6c6c2d6c61622f6c61726176656c2d6772617068716c2d766f79616765722e737667)](https://packagist.org/packages/mll-lab/laravel-graphql-voyager)

[![voyager demo](https://github.com/APIs-guru/graphql-voyager/raw/master/docs/demo-gif.gif)](https://apis.guru/graphql-voyager)

> **Please note**: This is not a GraphQL Server implementation, only a UI for exploring your schema. For the server component we recommend [nuwave/lighthouse](https://github.com/nuwave/lighthouse).

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

[](#installation)

```
composer require mll-lab/laravel-graphql-voyager

```

If you are using Lumen, register the service provider in `bootstrap/app.php`

```
$app->register(MLL\GraphQLVoyager\GraphQLVoyagerServiceProvider::class);
```

Configuration
-------------

[](#configuration)

By default, GraphQL Voyager is reachable at `/graphql-voyager`and assumes a running GraphQL endpoint at `/graphql`.

To change the defaults, publish the configuration with the following command:

```
php artisan vendor:publish --tag=graphql-voyager-config

```

You will find the configuration file at `config/graphql-voyager.php`.

If you are using Lumen, copy it into that location manually and load the configuration in your `boostrap/app.php`:

```
$app->configure('graphql-voyager');
```

Customization
-------------

[](#customization)

To customize GraphQL Voyager even further, publish the view:

```
php artisan vendor:publish --tag=graphql-voyager-view

```

You can use that for all kinds of customization.

### Change settings of the GraphQL Voyager instance

[](#change-settings-of-the-graphql-voyager-instance)

Check  for the allowed config options. You may change them in the published view where `GraphQLVoyager.init()` is called, for example:

```
    GraphQLVoyager.init(document.getElementById('voyager'), {
+       someOption: 'some-value',
    });
```

Local assets
------------

[](#local-assets)

If you want to serve the assets from your own server, you can download them with the command:

```
php artisan graphql-voyager:download-assets

```

This puts the necessary CSS, JS and Favicon into your `public` directory. If you have the assets downloaded, they will be used instead of the online version from the CDN.

Security
--------

[](#security)

If you do not want to enable GraphQL Voyager in production, you can disable it in the config file. The easiest way is to set the environment variable `GRAPHQL_VOYAGER_ENABLED=false`.

To protect the route to GraphQL Voyager, add custom middleware in the config file.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance58

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% 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 ~144 days

Recently: every ~171 days

Total

9

Last Release

754d ago

Major Versions

v1.0.2 → v2.0.02022-04-06

PHP version history (2 changes)v1.0.0PHP ^7.1 || ^8

v2.0.0PHP ^7.4 || ^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 (26 commits)")[![jorisneuteboom](https://avatars.githubusercontent.com/u/100202316?v=4)](https://github.com/jorisneuteboom "jorisneuteboom (1 commits)")[![kevinoo](https://avatars.githubusercontent.com/u/2440395?v=4)](https://github.com/kevinoo "kevinoo (1 commits)")

---

Tags

graphqlgraphql-voyagerlaravellaravelgraphqlgraphql-voyager

### Embed Badge

![Health badge](/badges/mll-lab-laravel-graphql-voyager/health.svg)

```
[![Health](https://phpackages.com/badges/mll-lab-laravel-graphql-voyager/health.svg)](https://phpackages.com/packages/mll-lab-laravel-graphql-voyager)
```

###  Alternatives

[nuwave/lighthouse

A framework for serving GraphQL from Laravel

3.5k10.7M93](/packages/nuwave-lighthouse)[rebing/graphql-laravel

Laravel wrapper for PHP GraphQL

2.2k7.1M26](/packages/rebing-graphql-laravel)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[neuron-core/neuron-laravel

Official Neuron AI Laravel SDK.

10710.0k](/packages/neuron-core-neuron-laravel)[thecodingmachine/graphqlite-laravel

A Laravel service provider package to help you get started with GraphQLite in Laravel.

1852.3k1](/packages/thecodingmachine-graphqlite-laravel)

PHPackages © 2026

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