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