Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Composer.json scripts section example for checking symfony security. Full details in article
"scripts": {
"get-security": "rm -f local-php-security-checker && curl -s | grep -E \"browser_download_url(.+)linux_amd64\" | cut -d : -f 2,3 | tr -d \\\" | xargs -I % curl % -L -o local-php-security-checker && chmod +x local-php-security-checker",
"security": "./local-php-security-checker",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment