# sfPropel15Plugin #
Replaces symfony's core Propel plugin by the latest version of Propel, in branch 1.5.
## Installation ##
Install the plugin via the subversion repository:
$ svn co http://svn.symfony-project.com/plugins/sfPropel15Plugin/trunk plugins/sfPropel15Plugin
from the project root directory or by using the command:
$ ./symfony plugin:install sfPropel15Plugin
Right after the installation of the plugin, you should update plugin assets:
$ ./symfony plugin:publish-assets
Disable the core Propel plugin and enable the `sfPropel15Plugin` instead:
[php]
class ProjectConfiguration extends sfProjectConfiguration
{
public function setup()
{
$this->enablePlugins('sfPropel15Plugin');
}
}
## What's New ##
Propel 1.5 is a backwards compatible evolution of Propel 1.4 (the version bundled with symfony 1.3 and 1.4), which adds some very interesting features. Among these features, you will find the new Propel Query API, which is essentially a Criteria on steroids. Check out the [WHATS_NEW](http://propel.phpdb.org/trac/wiki/Users/Documentation/1.5/WhatsNew) page in the Propel trac to see the full list of changes.
[php]
$books = PropelQuery::from('Book b')
->join('b.Author a')
->where('a.FirstName = ?', 'Leo')
->limit(10)
->find($con);