Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 532 Bytes

include-in-project.md

File metadata and controls

17 lines (11 loc) · 532 Bytes

Enable Tug in your project

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.

Use the API key with Composer

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>