aboutcoders/sequence-bundle

A symfony bundle that provides abstract sequence implementation

Installs: 19 182

Dependents: 1

Suggesters: 0

Security: 0

Stars: 5

Watchers: 3

Forks: 2

Open Issues: 0

Type:symfony-bundle

1.0.5 2020-05-22 08:49 UTC

This package is not auto-updated.

Last update: 2024-11-22 06:13:02 UTC


README

A symfony bundle that provides abstract sequence implementation

Build Status

Configuration

Add the bundle:

{
    "require": {
        "aboutcoders/sequence-bundle": "dev-master"
    }
}

Enable the bundles in the kernel:

# app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Abc\Bundle\SequenceBundle\AbcSequenceBundle(),
        // ...
    );
}

Configure the bundle

# app/config/config.yml
abc_sequence:
  db_driver: orm

Usage

Use Sequence manager to use sequence

$container->get('abc.sequence.sequence_manager');