opensoft / opensoft-epl-bundle
OpensoftEplBundle is wrapper for opensoft/epl library
Installs: 13 037
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^5.5.9|>=7.0.8
- opensoft/epl: >=1.0.0
- symfony/framework-bundle: ^3.3
This package is not auto-updated.
Last update: 2024-10-26 15:25:29 UTC
README
Installation
Add this bundle to your project
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
Add the EPL namespace to your autoloader
<?php // app/autoload.php $loader->registerNamespaces(array( 'Epl' => __DIR__.'/../vendor/epl/src', 'Opensoft' => __DIR__.'/../vendor/bundles', // your other namespaces ));
Add this bundle to your application's kernel
<?php // app/AppKernel.php public function registerBundles() { return array( // ... new Opensoft\EplBundle\OpensoftEplBundle(), // ... ); }
Documentation and configuration
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
License
See Resources/meta/LICENSE
.
Original Credits
- Petrov Dmitry as main author.