CLI

1. Creating Bundle :
    php app/console generate:bundle --namespace=ASF/StoreBundle
 
2. Create database
php app/console doctrine:database:create
 
3. Create database schema / tables from entity
php app/console doctrine:schema:create
 
4. Creating getters & setters
php app/console doctrine:generate:entities ASFStoreBundle
 
5. Update bundle
php composer.phar install 

No comments:

Post a Comment