Ignore Composer Security Advisories

Sometimes when running updates you will sometimes see a lot of noise as composer rejects this or that package due to a security advisory.

To reduce this noise add the following to your composer.json file (in as a new or inside an existing config section).

{
    "config": {
        "policy": {
            "advisories": {
                "block": false
            }
        }
    }
}

Note: This should only be used as a temporary measure to reduce the noise of updates in your command line output. Never use this in production!

Once you are done updating it's a good idea to remove this and run composer audit to see if there are any security advisories against your pacakges.

Add new comment

The content of this field is kept private and will not be shown publicly.