Search This Blog

Friday, November 12, 2010

Some useful symfony commands

These are some useful symfony commands


Create a symfony module

php symfony generate:module orsss  mymodule


Create symfony schema from the database

php symfony doctrine:build-schema

build models

php symfony doctrine:build-model

insert the created sql

php symfony doctrine:insert-sql

list all the back end routes

php symfony app:routes backend

publish assets of a plugin to web directory

php symfony plugin:publish-assets

create a sfGuard user

symfony guard:create-user indrakeerthi@gmail.com admin admin poojitha jayasinghe

build everything from scratch

symfony doctrine:build --all --and-load --no-confirmation

No comments: