This bundle requires the FOSUserBundle to be installed.
Add the following to your project's composer.json
file:
{
require: {
"uam/user-bundle": "dev-master"
}
}
Register the bundle:
#app/AppKernel.php
public function registerBundles()
{
$bundles = array(
…
new UAMUserBundle()
);
return $bundles;
}
If you are using assetic, add the bundle to the assetic configuration:
#config.yml
assetic:
UAMUserBundle
Also install FOSUserBundle as per the bundle's instructions.
To override the templates, create the a UAMUserBundle/views
directory under your app's Resources
directory.
The layout.html.twig
template is used by all pages generated by the bundle.
The base.email.twig
template is used by all emails sent by the bundle.