The FOSPropel1UserBundle provides support for Propel 1.x in FOSUserBundle.
Install the bundle through composer:
$ composer require friendsofsymfony/propel1-user-bundle "~1.0@dev"
Then enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new FOS\UserBundle\FOSUserBundle(),
new FOS\Propel1UserBundle\FOSPropel1UserBundle(),
// ...
);
}
This bundle will automatically configure FOSUserBundle to use
FOS\Propel1UserBundle\Model\User
as its user class when enabled.
When configuring FOSUserBundle, skip the configuration of the db_driver
and service.user_manager
settings, as well as of the user_class
(unless
you want to change the user class).
This bundle is under the MIT license. See the complete license in the bundle
Issues and feature requests are tracked in the Github issue tracker.
When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.