Installing PRO Addons
- Posted March 23, 2017
- Developer Tools
Related Links
Installing PRO Addons with Composer
You can install PRO and private addons in general with Composer as well. Simply add the repository to your root composer.json
file as well as the require line:
{
"require": {
...
"anomaly/forms-module": "~1.1.0",
"anomaly/standard_form-extension": "dev-master",
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/anomalylabs/standard_form-extension"
},
{
"type": "vcs",
"url": "https://github.com/anomalylabs/forms-module"
}
]
}
GitHub Authentication for Composer
When deploying PRO addons to servers using composer you will need to authorize Composer to access PRO addons on your behalf. To do this you will need to create a new personal access token and install it on your remote:
composer config -g github-oauth.github.com <oauthtoken>