mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-25 22:36:02 +03:00
Merge pull request #100 from PowerKiKi/patch-1
Simplify install instructions
This commit is contained in:
commit
ac5c518cbe
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user