Last active
October 4, 2018 05:55
-
-
Save mayuelcuarto/f7845acdf32646c509fb1d614fc168ec to your computer and use it in GitHub Desktop.
Comandos populares de la consola de Symfony
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
php bin/console cache:clear --env=prod |
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 dump-autoload | |
composer update |
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
php bin/console generate:bundle --namespace=NewBundle --format=yml |
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 create-project symfony/framework-standard-edition nombreproyecto |
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
//Import de entidades para symfony 4 | |
php bin/console doctrine:mapping:import App\Entity annotation --path=src/Entity | |
php bin/console make:entity --regenerate App | |
//Import clásico para symfony 3 | |
php bin/console doctrine:mapping:convert xml ./src/PlanillaBundle/Resources/config/doctrine/metadata/orm --from-database --force | |
php bin/console doctrine:mapping:import PlanillaBundle yml | |
php bin/console doctrine:generate:entities PlanillaBundle |
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
php bin/console generate:doctrine:form PlanillaBundle:Personal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment