DEV Community

Cover image for Disabling installation notifications for Packagist
Richard Dobroň
Richard Dobroň

Posted on

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.

Top comments (0)