2017 © Pedro Peláez
 

library graphql

GraphQL & Relay for laravel

image

laracomponents/graphql

GraphQL & Relay for laravel

  • Tuesday, August 22, 2017
  • by stenin-nikita
  • Repository
  • 1 Watchers
  • 0 Stars
  • 56 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

GraphQL & Relay for Laravel

Build Status Latest Version Quality Score StyleCI Total Downloads Software License , (*1)

Introduction

GraphQL & Relay for Laravel, (*2)

Requirements

  • PHP 5.6.4+ or newer
  • Laravel 5.1 or newer

Installation

Require this package with composer:, (*3)

composer require laracomponents/graphql

Open your config/app.php and add the following to the providers array:, (*4)

'providers' => [
    // ...
    LaraComponents\GraphQL\ServiceProvider::class,
],

Publish the configuration file:, (*5)

php artisan vendor:publish --provider="LaraComponents\GraphQL\ServiceProvider"

Simple Usage

Create a schema:, (*6)

$ php artisan make:graphql:scheme DefaultSchema

Create a type:, (*7)

$ php artisan make:graphql:type UserType
 Which type would you like to create?:
  [0] AbstractType
  [1] AbstractScalarType
  [2] AbstractObjectType
  [3] AbstractMutationObjectType
  [4] AbstractInputObjectType
  [5] AbstractInterfaceType
  [6] AbstractEnumType
  [7] AbstractListType
  [8] AbstractUnionType

Create a field:, (*8)

$ php artisan make:graphql:field UsersField

Documentation

All detailed documentation is available on the main GraphQL repository – http://github.com/youshido/graphql/., (*9)

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

22/08 2017

dev-master

9999999-dev https://github.com/LaraComponents/graphql

GraphQL & Relay for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nikita Stenin

laravel api graphql relay

22/08 2017

0.2.2

0.2.2.0 https://github.com/LaraComponents/graphql

GraphQL & Relay for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nikita Stenin

laravel api graphql relay

14/08 2017

0.2.1

0.2.1.0 https://github.com/LaraComponents/graphql

GraphQL & Relay for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nikita Stenin

laravel api graphql relay

13/08 2017

0.2.0

0.2.0.0 https://github.com/LaraComponents/graphql

GraphQL & Relay for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nikita Stenin

laravel api graphql relay

13/08 2017

0.1.0

0.1.0.0 https://github.com/LaraComponents/graphql

GraphQL & Relay for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nikita Stenin

laravel api graphql relay