2017 © Pedro Peláez
 

library laravel-graphql-relay

Adds relay specifications to laravel graphql server

image

fandogh/laravel-graphql-relay

Adds relay specifications to laravel graphql server

  • Wednesday, July 27, 2016
  • by pooya
  • Repository
  • 1 Watchers
  • 1 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 13 Forks
  • 0 Open issues
  • 19 Versions
  • 0 % Grown

The README.md

laravel-graphql-relay

Travis Packagist Packagist Packagist, (*1)

an active fork of nuwave/laravel-graphql-relay, (*2)

Use Facebook GraphQL with React Relay. This package extends graphql-php to work with Laravel and is currently a work in progress. You can reference what specifications GraphQL needs to provide to work with Relay in the documentation., (*3)

Although this package no longer depends on laravel-graphql, it laid the foundation for this package which likely wouldn't exist without it. It is also a great alternative if you are using GraphQL w/o support for Relay., (*4)

Because this package is still in the early stages, breaking changes will occur. We will keep the documentation updated with the current release. Please feel free to contribute, PR are absolutely welcome!, (*5)

Installation

You must then modify your composer.json file and run composer update to include the latest version of the package in your project., (*6)

"require": {
    "fandogh/laravel-graphql-relay": "0.3.*"
}

Or you can use the composer require command from your terminal., (*7)

composer require fandogh/laravel-graphql-relay

Add the service provider to your config/app.php file, (*8)

Nuwave\Relay\LaravelServiceProvider::class

Add the Relay & GraphQL facade to your app/config.php file, (*9)

'GraphQL' => Nuwave\Relay\Facades\GraphQL::class,
'Relay' => Nuwave\Relay\Facades\Relay::class,

Publish the configuration file, (*10)

php artisan vendor:publish --provider="Nuwave\Relay\LaravelServiceProvider"

Create a schema.php file and add the path to the config. See the Schema wiki page for more information on schema.php., (*11)

// config/relay.php
// ...
'schema' => [
    'path'      => 'Http/schema.php',
    'output'    => null,
],

To generate a schema.json file (used with the Babel Relay Plugin):, (*12)

php artisan relay:schema

You can customize the output path in the relay.php config file under schema.output, (*13)

For additional documentation, look through the docs folder or read the Wiki., (*14)

The Versions

27/07 2016

dev-master

9999999-dev

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore
by Pooya Parsa

laravel react graphql relay

27/07 2016

0.4.0

0.4.0.0

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore
by Pooya Parsa

laravel react graphql relay

15/05 2016

dev-connections

dev-connections

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

28/04 2016

v0.3.3

0.3.3.0

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

25/04 2016

v0.3.2

0.3.2.0

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

22/04 2016

v0.3.1

0.3.1.0

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

12/03 2016

v0.3.0

0.3.0.0

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

12/03 2016

dev-develop

dev-develop

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

06/03 2016

dev-cache

dev-cache

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

04/03 2016

dev-eloquent-types

dev-eloquent-types

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

27/01 2016

v0.2.0

0.2.0.0

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

25/01 2016

v0.1.6

0.1.6.0

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

08/01 2016

v0.1.5

0.1.5.0

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

23/11 2015

v0.1.4

0.1.4.0

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

22/11 2015

v0.1.3

0.1.3.0

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

17/11 2015

v0.1.2

0.1.2.0

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

17/11 2015

dev-testing

dev-testing

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

16/11 2015

v0.1.1

0.1.1.0

Adds relay specifications to laravel graphql server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christopher Moore

laravel react graphql relay

16/11 2015

v0.1.0

0.1.0.0

  Sources   Download

The Requires

 

The Development Requires