Require the bundle in your composer.json file (You should choose the tag/branch that fits to your needs):
{
"require": {
"widop/http-adapter-bundle": "*",
}
}
Register the bundle:
// app/AppKernel.php
public function registerBundles()
{
return array(
new Widop\HttpAdapterBundle\WidopHttpAdapterBundle(),
// ...
);
}
Install the bundle:
$ composer update
Add Wid'op Http Adapter bundle (You should choose the tag/branch that fits to your needs):
[WidopHttpAdapterBundle]
git=http://github.com/widop/WidopHttpAdapterBundle.git
target=bundles/Widop/HttpAdapterBundle
version=1.0.0
Autoload the Wid'op Http Adapter bundle namespace:
// app/autoload.php
$loader->registerNamespaces(array(
'Widop\\HttpAdapterBundle' => __DIR__.'/../vendor/bundles',
// ...
);
Register the bundle:
// app/AppKernel.php
public function registerBundles()
{
return array(
new Widop\HttpAdapterBundle\WidopHttpAdapterBundle(),
// ...
);
}
Run the vendors script:
$ php bin/vendors install