console command list

Always keep on hand when developing in the dev environment

to view the current configuration of a particular {bundle} :

$ php bin/console debug:config {bundle-name}

to view the potential configurations of a particular {bundle} :

$ php bin/console config:dump {bundle-name}

the following list is used to regenerate the entire database including migrations and data fakes :

$ symfony console doctrine:database:drop –force

$ symfony console doctrine:database:create

$ symfony console doctrine:migrations:migrate

$ symfony console doctrine:fixtures:load

view list of autowiring type bundles :

$ symfony console debug:autowiring

for see the full list of services :

$ php bin/console debug:container

for see the full list of parameters :

$ php bin/console debug:container  –parameters

Leave a Reply

Your email address will not be published. Required fields are marked *