Skip to content

Latest commit

 

History

History
77 lines (58 loc) · 2.14 KB

File metadata and controls

77 lines (58 loc) · 2.14 KB

Installing Gato GraphQL

These are the several ways to install the Gato GraphQL plugin.

Requirements

  • WordPress 5.4+
  • PHP 7.4+

Plugin

Download the latest release of the plugin as a .zip file.

Then, in the WordPress admin:

  • Go to Plugins => Add New
  • Click on Upload Plugin
  • Select the .zip file
  • Click on Install Now (it may take a few minutes)
  • Once installed, click on Activate

Composer

Add the following configuration to your composer.json:

{
    "require": {
        "gatographql/gatographql": "^1"
    },
    "minimum-stability": "dev",
    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "gatographql/gatographql",
                "type": "wordpress-plugin",
                "version": "1",
                "dist": {
                    "url": "https://gatographql.com/releases/latest",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "^1"
                }
            }
        }
    ],
    "extra": {
        "installer-paths": {
            "wp-content/plugins/{$name}/": [
                "type:wordpress-plugin"
            ]
        }
    }
}

WP-CLI

To install via WP-CLI, execute this command:

wp plugin install --activate https://gatographql.com/releases/latest

GitHub Updater

This plugin support automatic updating via the GitHub Updater.