To enable Tug for each PHP project with Composer, you must run this Composer command:
$ composer config repositories.tug composer https://<your-custom-domain>
Of course, use your custom domain, and you also can change the name of the Composer registry.
When you run Composer, it will prompt to enter your credentials, in this case, use the values for:
- Username:
token
- Password:
<your-api-key-created-in-step-2.4>