2017 © Pedro Peláez
 

symfony-bundle keyvaluestore-bundle

Allows you to easily access and set key-value

image

elcweb/keyvaluestore-bundle

Allows you to easily access and set key-value

  • Tuesday, June 28, 2016
  • by estheban
  • Repository
  • 1 Watchers
  • 2 Stars
  • 1,288 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 2 Forks
  • 4 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

KeyValueStoreBundle

Latest Stable Version Total Downloads, (*1)

Installation

Step 1: Download using composer

{
    "require": {
        "elcweb/keyvaluestore-bundle": "dev-master"
    }
}

Now tell composer to download the bundle by running the command:, (*2)

``` bash $ php composer.phar update elcweb/keyvaluestore-bundle, (*3)


### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Elcweb\KeyValueStoreBundle\ElcwebKeyValueStoreBundle(), ); }

Usage

Get a value

``` php $ks = $this->get('elcweb.keyvaluestore'); $value = $ks->get('KeyName');, (*4)


### Get all values starting with a pattern ``` php $ks = $this->get('elcweb.keyvaluestore'); $values = $ks->getAll('KeyName'); // If you have a keys called foo.bar and foo.foo this will return an array with key bar and foo

Set a value

php $ks = $this->get('elcweb.keyvaluestore'); $ks->set('key', 'value', 'optional description');, (*5)

License

This bundle is under the MIT license. See the complete license in the bundle:, (*6)

Resources/meta/LICENSE

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker., (*7)

When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps., (*8)

The Versions

27/06 2016

v2.0.1

2.0.1.0

Allows you to easily access and set key-value

  Sources   Download

MIT

The Requires

 

21/01 2016

1.0.x-dev

1.0.9999999.9999999-dev

Allows you to easily access and set key-value

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

04/11 2015

dev-master

9999999-dev

Allows you to easily access and set key-value

  Sources   Download

MIT

The Requires

 

21/07 2015

v2.0.0

2.0.0.0

Allows you to easily access and set key-value

  Sources   Download

MIT

The Requires

 

15/01 2014

dev-develop

dev-develop

Allows you to easily access and set key-value

  Sources   Download

MIT

The Requires

 

30/08 2013

v1.0.2

1.0.2.0

Allows you to easily access and set key-value

  Sources   Download

MIT

The Requires

 

26/08 2013

v1.0.1

1.0.1.0

Allows you to easily access and set key-value

  Sources   Download

MIT

The Requires

 

05/06 2013

v1.0.0

1.0.0.0

Allows you to easily access and set key-value

  Sources   Download

MIT

The Requires