-
-
Save martiis/7edefd8554f66c87918b348a6a51bc5d to your computer and use it in GitHub Desktop.
Alias for symfony's console command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## COMPOSER ALIAS | |
alias cii="composer install --ignore-platform-reqs" | |
alias cui="composer update --ignore-platform-reqs" | |
## SYMFONY ALIAS | |
# Console | |
alias sf="php bin/console" | |
alias sfdev="php bin/console --env=dev" | |
alias sfprod="php bin/console --env=prod" | |
# Helper | |
alias sf:cc="php bin/console cache:clear --env=dev && php bin/console cache:clear --env=prod" | |
alias sf:gb="php bin/console generate:bundle" | |
alias sf:rd="php bin/console router:debug" | |
alias sf:dsu="php bin/console doctrine:schema:update --force" | |
alias sf:dsd="php bin/console doctrine:schema:drop --force" | |
alias sf:dge="php bin/console doctrine:generate:entity" | |
alias sf:dges="php bin/console doctrine:generate:entities" | |
alias sf:hfl="php bin/console hautelook:fixture:load -n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment