Bundle that provides user functionality for Symfony2 projects. This bundle is provided as a part of the SmartBusinessPlatform from ROTEX Heating Systems and is most usefull in combination with other bundles of this platform.
First, grab the RtxLabsUserBundle. There are two different ways to do this:
Add the following lines to your composer.json
file and then run php composer.phar install
:
"rtxlabs/user-bundle": "dev-master"
Run the following commands to bring in the needed libraries as submodules.
git submodule add https://github.com/RtxLabs/UserBundle.git vendor/bundles/RtxLabs/UserBundle
To start using the bundle, register it in your Kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new RtxLabs\UserBundle\RtxLabsUserBundle(),
);
// ...
)
TODO
============
* Write a decent documentation
* Add unit tests