Install ACPT with Composer

ACPT can be installed using Composer.

Authorization

The auth.json file is made up of a username and password field. The username and password are used by Composer to authenticate to our API with HTTP basic authentication.

The username is the ACPT user email, and the password is the license key.

{
  "http-basic": {
    "dash.acpt.io/composer": {
      "username": "[email protected]",
      "password": "1234567890"
    }
  }
}

Please read more about how Composer handles the authentication for private repositories here.

Add ACPT Repository

Add our repository to your composer.json file:

"repositories": [
    {
        "type":"composer",
        "url":"https://dash.acpt.io/composer"
    }
]

Install the Plugin

From the CLI, require ACPT using the following command:

composer require acpt/acpt-pro

Version Constraints

You can use any Composer version constraints, or specify the exact version of the plugin:

"require": {
    "acpt/acpt-pro": "2.0.23"
}

Last updated