-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,30 @@ | ||
# Symfony2 GraphQl Bundle | ||
|
||
## Not working yet | ||
### True object oriented GraphQL PHP Server realization | ||
|
||
This is not a PHP port of the JavaScript GraphQL. | ||
This is a Object oriented realization of the GraphQL server conforming the [RFC Specification for GraphQL](https://facebook.github.io/graphql/). | ||
|
||
## Installing graphql-bundle | ||
|
||
We assume you have `composer`, if not – [go get install Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx). | ||
After that, simply run | ||
``` | ||
$> composer require youshido/graphql-bundle='dev-master' | ||
``` | ||
Than add bundle to your `app/AppKernel.php` | ||
``` | ||
... | ||
new Youshido\GraphQLBundle\GraphQLBundle(), | ||
... | ||
``` | ||
|
||
And finally adding routing reference to the `app/config/routing.yml`: | ||
``` | ||
graphql: | ||
resource: "@GraphQLBundle/Controller/" | ||
``` | ||
|
||
## Examples | ||
|
||
Right now you can learn some examples in our test directory but we're going to put out the whole step by step guide for you soon. |