2017 © Pedro Peláez
 

library yii2-elasticmemcache

Yii2 component for elastic memcache without node discovery plugin

image

urbanindo/yii2-elasticmemcache

Yii2 component for elastic memcache without node discovery plugin

  • Wednesday, August 19, 2015
  • by urbanindo
  • Repository
  • 3 Watchers
  • 1 Stars
  • 7,488 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 9 % Grown

The README.md

yii2-elasticmemcache

Yii2 component for AWS Elasticache Memcache without node discovery plugin, (*1)

Latest Stable Version Total Downloads Latest Unstable Version Build Status, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist urbanindo/yii2-elasticmemcache "*"

or add, (*5)

"urbanindo/yii2-elasticmemcache": "*"

to the require section of your composer.json file., (*6)

Usage

'components' => [
    'cache' => [
        'class' => UrbanIndo\Yii2\ElasticMemcache\Cache::class,
        'serverConfigs' => [
            [
                    'host' => 'CacheClusterConfiguration1.cache.amazonaws.com', // modify this
                    'port' => 11211,
                    'weight' => 60,
            ],
            [
                    'host' => 'CacheClusterConfiguration2.cache.amazonaws.com', // modify this
                    'port' => 11211,
                    'weight' => 40,
            ]
        ],
        'cache' => [
            'class' => yii\caching\FileCache::class
        ]
    ]
]

Running Test

  • copy test/template-local.php to local.php
  • modify it to your aws elasticache configuration
  • run vendor/bin/phpunit --bootstrap test/bootstrap.php test/CacheTest

The Versions

19/08 2015

dev-master

9999999-dev

Yii2 component for elastic memcache without node discovery plugin

  Sources   Download

MIT

The Requires

 

The Development Requires

by Petra Barus

19/08 2015

1.0.1

1.0.1.0

Yii2 component for elastic memcache without node discovery plugin

  Sources   Download

MIT

The Requires

 

The Development Requires

by Petra Barus

24/06 2015

1.0.0

1.0.0.0

Yii2 component for elastic memcache without node discovery plugin

  Sources   Download

MIT

The Requires

 

The Development Requires

by Petra Barus