Symfony – configure database using command

September 30th, 2011 § 0 comments

Symfony command line helps us a lot to do the task easier and faster. One of the best example is configuring database in symfony. There are two ways you can configure database.

First method is give direct entry to database.yml. But I find the command line  as  easy and quick way to configure database in symfonny 1.4.

You can even easily specify the environment in which the database configuration belongs to. The command will write the the database configuration into database.yml.

Revath S Kumar [RSK]

- Rubyist / JavaScripter - Yeoman Team member - Open source enthusiast - Blogger @ PHPRepo and http://blog.revathskumar.com - Coder @ Whatznear - Google fanboy - jQuery lover

More Posts - Website - Twitter - Facebook - LinkedIn - Pinterest - Google Plus - YouTube