Composer Configuration
To access Anowave's packages in Composer, configure authentication globally on your machine. Find below the configuration procedure that will add the require repository and the ways to access packages using a private user and token combination
Composer config command
composer config repositories.private-packagist composer https://repo.packagist.com/YOUR COMPOSER USER/ composer config repositories.packagist.org false
Setup authentication
composer config --global --auth http-basic.repo.packagist.com user token
Alternatively, for example for CI environments, you can use an environment variable:
COMPOSER_AUTH='{"http-basic":{"repo.packagist.com":{"username":"token","password":"your-authentication-token-here"}}}'
Installing extension
To install an extension you need to know the extension name first, you can find the extension package name in the order details menu e.g. Anowave / My profile / View order
In the following example, we shall presume that for education purposes, the package is called anowave/metrics
1. Installing extension
composer require anowave/metrics
2. Updating extension
composer update anowave/metrics
3. Removing/Uninstalling extension
composer remove anowave/metrics