First you need to get a hold of this bundle. There are two ways of doing this:
Add the following to your composer.json (see http://getcomposer.org/)
"require" : {
// ...
"cleentfaar/docdata-orderapi-bundle": "1.0.*@dev"
}
Run the following commands to bring in the needed libraries as submodules.
git submodule add https://github.com/cleentfaar/CLDocDataOrderApiBundle.git vendor/bundles/CL/Bundle/DocDataOrderApiBundleIf you installed the bundle by composer, use the created autoload.php (jump to step 3).
Add the following two namespace entries to the registerNamespaces call in your autoloader:
<?php
// app/autoload.php
$loader->registerNamespaces(array(
// ...
'CL\Bundle' => __DIR__.'/../vendor/bundles',
// ...
));To start using the bundle, register it in your Kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
// ...
$bundles = array(
// ...
new CL\Bundle\DocDataOrderApiBundle\CLDocDataOrderApiBundle(),
// ...
);
// ...
}Check out the usage documentation!