You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/quick-start.md
+37-5Lines changed: 37 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,15 +33,47 @@ Installing plugins with [Composer](https://getcomposer.org/), a PHP dependency m
33
33
34
34
WPGraphQL is available for installing with Composer from [packagist.org](https://packagist.org/packages/wp-graphql/wp-graphql) and [wpackagist.org](https://wpackagist.org/search?q=wp-graphql\&type=any\&search=).
35
35
36
-
The most straight forward way to install WPGraphQL with composer would be to run the following command:
36
+
You can add WPGraphQL as a dependency to your project with the following command:
37
37
38
-
```shell
39
-
composer require wpackagist-plugin/wp-graphql
38
+
```bash
39
+
composer require wp-graphql/wp-graphql
40
40
```
41
41
42
-
This would add WPGraphQL as a dependency for your project.
42
+
Below is an example of a composer.json file with WPGraphQL added as as a plugin dependency:
You can read more about using Composer, Packagist and WPackagist below:
43
72
44
-
The fine folks of [roots.io](https://roots.io/) have written more information on [Using Composer with WordPress](https://roots.io/using-composer-with-wordpress/).
73
+
-[Using Composer with WordPress](https://roots.io/using-composer-with-wordpress/)
0 commit comments