mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-06 07:49:24 +03:00
Simplify install instructions
Composer can create `composer.json` if missing, and letting composer pick the latest version by itself is more future proof than hardcoding a version that need to be changed on each release.
This commit is contained in:
parent
7ef9f91672
commit
070ab7d430
@ -4,18 +4,11 @@ first learn about GraphQL on [official website](http://graphql.org/learn/).
|
||||
|
||||
# Installation
|
||||
|
||||
Using [composer](https://getcomposer.org/doc/00-intro.md):
|
||||
add `composer.json` file to your project root folder with following contents:
|
||||
```
|
||||
{
|
||||
"require": {
|
||||
"webonyx/graphql-php": "^0.9"
|
||||
}
|
||||
}
|
||||
```
|
||||
and run `composer install`.
|
||||
Using [composer](https://getcomposer.org/doc/00-intro.md), simply run:
|
||||
|
||||
If you already have composer.json file - simply run: `composer require webonyx/graphql-php="^0.9"`
|
||||
```sh
|
||||
composer require webonyx/graphql-php
|
||||
```
|
||||
|
||||
# Upgrading
|
||||
We try to keep library releases backwards compatible. But when breaking changes are inevitable
|
||||
|
Loading…
x
Reference in New Issue
Block a user