A cheat sheet of useful commands I keep updated to make my life easier.
https://symfony.com/doc/current/setup.html
composer create-project symfony/skeleton [PROJECT NAME]
https://symfony.com/doc/current/setup/web_server_configuration.html
Run recipe to make subdir/alias work
php bin/console --version
php bin/console cache:clear --no-warmup --env=prod
php symfony
php bin/console server:run
Or while using the Symfony client:
symfony server:start
View here - http://127.0.0.1:8000/
php bin/phpunit
https://symfony.com/doc/current/testing.html
https://symfony.com/doc/current/controller/error_pages.html
http://localhost/_error/{statusCode}
http://localhost/_error/{statusCode}.{format}
php bin/console generate:bundle
Add to psr-4 autoload, then run:
composer dump-autoload
https://symfony.com/doc/current/doctrine.html#creating-an-entity-class
php bin/console make:entity
https://symfony.com/doc/current/doctrine.html#persisting-objects-to-the-database
php bin/console make:controller ProductController
php bin/console generate:doctrine:form [BUNDLE NAME]:[ENTITY NAME]
http://symfony.com/doc/current/doctrine.html
php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate
php bin/console doctrine:migrations:execute YYYYMMDDHHMMSS --up
php bin/console doctrine:migrations:execute YYYYMMDDHHMMSS --down
php bin/console doctrine:database:create
php bin/console doctrine:database:drop --force
php bin/console debug:router
https://symfony.com/doc/current/bundles/FOSUserBundle/index.html
http://symfony.com/doc/master/bundles/FOSUserBundle/command_line_tools.html
https://symfony.com/doc/master/bundles/FOSUserBundle/index.html
https://symfony.com/doc/current/bundles/FOSUserBundle/overriding_templates.html