Using the composer
php composer.phar require opensoft/opensoft-epl-bundle
Using the vendors script
Add the following lines in your deps file:
[OpensoftEplBundle]
git=git://github.com/opensoft/OpensoftEplBundle.git
target=bundles/Opensoft/EplBundle
[epl]
git=http://github.com/opensoft/epl.git
Run the vendors script:
$ php bin/vendors install
Using Git submodule
$ git submodule add git://github.com/opensoft/OpensoftEplBundle.git vendor/bundles/Opensoft/EplBundle
<?php
// app/autoload.php
$loader->registerNamespaces(array(
'Epl' => __DIR__.'/../vendor/epl/src',
'Opensoft' => __DIR__.'/../vendor/bundles',
// your other namespaces
));
<?php
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Opensoft\EplBundle\OpensoftEplBundle(),
// ...
);
}
It is simple configuration bundle for epl library. Two configuration parameters are available.
opensoft_epl:
composite: Epl\CommandComposite # implements Epl\CommandCompositeInterface
helper: Epl\CommandHelper # implements Epl\CommandHelperInterface
See Resources/meta/LICENSE
.
- Petrov Dmitry as main author.