Posted By

athome on 10/03/11


Tagged

php symfony


Versions (?)

Symfony console API cheatsheet


 / Published in: Bash
 

  1. php app/console generate:bundle --namespace=Acme/HelloBundle --format=yml
  2. php app/console cache:clear --env=prod --no-debug
  3. php app/console router:debug
  4. php app/console container:debug
  5. php app/console doctrine:database:create
  6. php app/console doctrine:generate:entity --entity="AcmeStoreBundle:Product" --fields="name:string(255) price:float description:text"
  7. php app/console doctrine:generate:entities Acme/StoreBundle/Entity/Product
  8. php app/console doctrine:generate:entities AcmeStoreBundle
  9. php app/console doctrine:generate:entities Acme
  10. php app/console doctrine:schema:update --force

Report this snippet  

You need to login to post a comment.