1 post tagged


Fix security check 404 error in your symfony project

The bin/console security:check was recently shutted down by Symfony stakeholders. If you try to use it you will get an error:

The web service failed for an unknown reason (HTTP 404).

Now you must checking the project locally with utility written by Fabien Potencier.


My instructions are only suitable for those using docker or linux as a host system.

  1. Add “get-security” script to “scripts” section of composer.json file. It allows to download latest version of security utility:
  1. Add “security” script that run the security check:

Your composer.json “scripts” section should look like this:

Now you can check security with 2 commands:

 No comments   5 mon   eng   php   symfony