Disabling installation notifications for Packagist

dobron

Richard Dobroň

Posted on July 12, 2022

Disabling installation notifications for Packagist

If you use workflow to run tests along with installing dependencies via composer, you may find it useful to disable sending install statistics to Packagist.

Just add this line of code to the beginning of the script.

composer config notify-on-install false
Enter fullscreen mode Exit fullscreen mode

As it says in the composer documentation:

notify-on-install: This allows composer to send notification to a URL whenever a package is installed. This by default is true.

💖 💪 🙅 🚩
dobron
Richard Dobroň

Posted on July 12, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related