New symfony project: tips and commands

Create a new bundle:

php app/console generate:bundle

And if you want to go faster (i.e. no interactions), dir give the src path, namespace the name of the bundle and structure the need to generate basic directory :

php app/console generate:bundle --dir=/Volumes/Docs/Projects/CV/www/src --namespace=CV/EditorialBundle --structure --no-interaction

Leave a Reply

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