Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Object id provisioning/ticket server for Symfony2
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
DependencyInjection
Listener
Provisioner
Resources/config
ProblematicProvisionerBundle.php
README.md

README.md

Object id provisioning/ticket server for Symfony2 using (by default) predis/SncPredisBundle

Usage

Really simple. The ORM listener watches the Doctrine prePersist event for objects implementing ProvisionableInterface (which requires a setId() method), then uses the configured provisioner (a redis provisioner is provided by default) to generate a unique key for it.

Configuration

To use the redis provisioner with SNCRedisBundle:

app/config/config.yml
problematic_provisioner:
    redis:
        client: snc_redis.default_client

Todo

  • Support other provisioners besides redis
  • Make things more configurable in general
Something went wrong with that request. Please try again.