1 post tagged

symfony

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.

Attention!

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

  1. That scripts allows to download latest version of security utility:
  1. Script generates “local-php-security-checker” file in project’s root folder. You may run downloaded file directly or add aliases to the composer.json file at “scripts” section:

Now you able to run security check with 1 line of code

 No comments   10 mon   eng   php   symfony