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 deps
file and then run php bin/vendors install
:
[RtxLabsUserBundle]
git=https://github.com/RtxLabs/UserBundle.git
target=bundles/RtxLabs/UserBundle
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
Add the following namespace entry to the registerNamespaces
call
in your autoloader:
<?php
// app/autoload.php
$loader->registerNamespaces(array(
// ...
'RtxLabs' => __DIR__.'/../vendor/bundles',
// ...
));
To start using the bundle, register it in your Kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new RtxLabs\LiquibaseBundle\RtxLabsUserBundle(),
);
// ...
)
TODO
============
* Write a decent documentation
* Add unit tests