1
votes

I am new to symfony,I want to create a application using Symfony framework using propel as ORM(Model),But I don't know to how to set Propel as a ORM instead of using Doctrine I just want to use propel alone.symfony has released new version with Doctrine as a defult ORM.So Please suggest how to change it to propel..Thanks in advance

1

1 Answers

2
votes

For Symfony 1.4, quoting the manual :

Configuring the database

[...]

If you want to use Propel instead of Doctrine, add --orm=Propel when creating the project with the generate:project task. And if you don't want to use an ORM, just pass --orm=none.

However if you want the last Propel version, I guess that you will have to install the Propel15Plugin (for details on how to install that plugin, see the Readme tab on the Symfony Propel15Plugin page).

For Symfony 2.0, this slideshow explains how to integrate Propel 1.5.