This repository has been archived on 2024-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/docs/Console.md
2023-04-03 20:26:25 -07:00

29 lines
593 B
Markdown

# bin console cheat sheet
## about
Checks the version, support, kernel and php
## version
php bin/console --version
## Routes
php bin/console debug:router
* [Visualize and Debug routes in Symfony](https://symfony.com/doc/4.1/routing/debug.html)
## 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.