opensoft/opensoft-epl-bundle

OpensoftEplBundle is wrapper for opensoft/epl library

Installs: 13 039

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 1

Open Issues: 0

Type:symfony-bundle

2.0.0 2018-01-23 15:49 UTC

This package is not auto-updated.

Last update: 2024-11-09 15:42:20 UTC


README

Build Status

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.