PHPackages                             v16studios/graphql-laravel-bootstrapper - 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. v16studios/graphql-laravel-bootstrapper

ActiveLibrary[API Development](/categories/api)

v16studios/graphql-laravel-bootstrapper
=======================================

A package for automatic schema configuration designed to work with rebing/graphql-laravel.

1.0.1(7mo ago)143LGPL-3.0-onlyPHPPHP ^8.2|^8.3

Since Dec 19Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/v16Studios/graphql-laravel-bootstrapper)[ Packagist](https://packagist.org/packages/v16studios/graphql-laravel-bootstrapper)[ Docs](https://github.com/v16studios/graphql-laravel-bootstrapper)[ RSS](/packages/v16studios-graphql-laravel-bootstrapper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (14)Versions (3)Used By (0)

GraphQL Laravel Bootstrapper
============================

[](#graphql-laravel-bootstrapper)

A package for automatic schema configuration designed to work with rebing/graphql-laravel. This project is tested with BrowserStack.

[![License: GPL 3.0](https://camo.githubusercontent.com/e6321217822d92a4a36e22026ce6a5aea37e0999437d09fe2f75b86df76130c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c5f332e302d707572706c65)](https://opensource.org/license/gpl-3-0/)

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

[](#installation)

Run `composer require v16studios/graphql-laravel-bootstrapper` in the terminal.

Publishing the package config file is optional but recommended if you would like to use a different namespace for your types, queries and mutations:

Publish the config file by running `php artisan vendor:publish --tag=bootstrapper-config` in the terminal.

Afterwards you can modify the namespace(s) that the package uses to find your schema by editing the `namespace_filters` key in the `config/graphql-laravel-bootstrapper.php` file.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

The LGPL 3.0 License. Please see [License File](LICENSE) for more information.

Basic Usage
-----------

[](#basic-usage)

Instead of manually defining your GraphQL schema in the config files of the Rebing GraphQL package, you can use this package to automatically generate your schemas by implementing the various supplied interfaces on your types, queries and mutations.

For example you can define a 'global' type like so:

```
