...
Optional: Save authentication information in auth.json to avoid repeatedly typing it
To Composer will ask you to do this for you usually, however if not to avoid having to always fill your credentials, add an auth.json
file at your project root, next composer.json
, or in your COMPOSER_HOME directory for machine-wide use. The file looks like the following:
Code Block | ||||
---|---|---|---|---|
| ||||
{ "config": { "basic-auth": { "updates.ez.no": { "username": "<installation-key>", "password": "<token password>" } } } } |
The fine print: bundled with eZ Publish Platform is a Composer extension which makes it possible to store authentication information in that file.
Using composer
Update workflow
...