2017 © Pedro Peláez
 

library l5-memcached-noversion

Removes the getVersion call from the Stock Laravel MemcachedConnector

image

cedricziel/l5-memcached-noversion

Removes the getVersion call from the Stock Laravel MemcachedConnector

  • Friday, January 13, 2017
  • by cedricziel
  • Repository
  • 1 Watchers
  • 1 Stars
  • 86 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Laravel 5.3 Memcached Connector

Dependency 
Status, (*1)

The only difference from the default connector is the removed version command, which some third parties don't implement (AppEngine Managed VMs)., (*2)

Configuration

Add the service provider to your application to replace the memcached connector singleton in the container:, (*3)

  CedricZiel\MemcachedNoVersion\MemcachedNoversionServiceProvider::class,

AppEngine Flexible Environment

Google AppEngine Flexible comes with a memcache service, which is easily discoverable through the following environment variables:, (*4)

MEMCACHE_PORT_11211_TCP_ADDR
MEMCACHE_PORT_11211_TCP_PORT

So in order to use this adapter with AppEngine flex, you need to adjust your config (config/cache.php) a bit:, (*5)

        'memcached' => [
            'driver' => 'memcached',
            'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
            'sasl' => [
                env('MEMCACHED_USERNAME'),
                env('MEMCACHED_PASSWORD'),
            ],
            'options' => [
                // Memcached::OPT_CONNECT_TIMEOUT  => 2000,
            ],
            'servers' => [
                [
                    'host' => env('MEMCACHE_PORT_11211_TCP_ADDR', '127.0.0.1'),
                    'port' => env('MEMCACHE_PORT_11211_TCP_PORT', 11211),
                    'weight' => 100,
                ],
            ],
        ],

License

MIT, (*6)

The Versions

13/01 2017

dev-master

9999999-dev

Removes the getVersion call from the Stock Laravel MemcachedConnector

  Sources   Download

MIT

The Requires

 

by Cedric Ziel

laravel lumen memcached google gae appengine

12/01 2017

v2.0.0

2.0.0.0

Removes the getVersion call from the Stock Laravel MemcachedConnector

  Sources   Download

MIT

The Requires

 

by Cedric Ziel

laravel lumen memcached google gae appengine

21/12 2015

0.1.0

0.1.0.0

Removes the getVersion call from the Stock Laravel MemcachedConnector

  Sources   Download

MIT

The Requires

 

by Cedric Ziel

laravel lumen memcached google gae appengine

21/12 2015

0.0.1

0.0.1.0

Removes the getVersion call from the Stock Laravel MemcachedConnector

  Sources   Download

MIT

The Requires

 

by Cedric Ziel

laravel lumen memcached google gae appengine