Merge pull request #100 from PowerKiKi/patch-1

Simplify install instructions
This commit is contained in:
Vladimir Razuvaev 2017-03-21 13:18:58 +07:00 committed by GitHub
commit ac5c518cbe

View File

@ -4,18 +4,11 @@ first learn about GraphQL on [official website](http://graphql.org/learn/).
# Installation # Installation
Using [composer](https://getcomposer.org/doc/00-intro.md): Using [composer](https://getcomposer.org/doc/00-intro.md), simply run:
add `composer.json` file to your project root folder with following contents:
```
{
"require": {
"webonyx/graphql-php": "^0.9"
}
}
```
and run `composer install`.
If you already have composer.json file - simply run: `composer require webonyx/graphql-php="^0.9"` ```sh
composer require webonyx/graphql-php
```
# Upgrading # Upgrading
We try to keep library releases backwards compatible. But when breaking changes are inevitable We try to keep library releases backwards compatible. But when breaking changes are inevitable