846 B
846 B
bin console cheat sheet
How to install
curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | sudo -E bash
sudo nala install symfony-cli
symfony check:req
Offical Symfony Download is the best place to go.
about
Checks the version, support, kernel and php
version
php bin/console --version
Routes
php bin/console debug:router
Manually hash a password
php bin/console security:hash-password
Composer Cheat Sheet
composer dump-autoload
fixes a lot of problems: symfony console cache:clear
To view the namespaces symfony creates for twig: php bin/console debug:twig
Installed Recipes
Use composer recipes
to see which bundles you have installed.