2017 © Pedro PelĂĄez
 

library cache-service-provider

Modyfication of dafiti/cache-service-provider. Filesystems support added.

image

bru2s/cache-service-provider

Modyfication of dafiti/cache-service-provider. Filesystems support added.

  • Thursday, September 17, 2015
  • by Bru2s
  • Repository
  • 1 Watchers
  • 0 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Cache Service Provider

Build Status Scrutinizer Code Quality Code Coverage HHVM Latest Stable Version Total Downloads License, (*1)

A Silex Service Provider for Doctrine Cache., (*2)

Instalation

{
    "require": {
        "bru2s/cache-service-provider": "dev-master"
    }
}

Adapters Availables

To use Memcache, (*3)

sudo apt-get install php5-memcached

To use Memcached, (*4)

sudo apt-get install php5-memcached

To use Redis Adapter install PHPRedis, (*5)

git clone git@github.com:phpredis/phpredis.git
cd phpredis
phpize
./configure
make && make install

Usage


use Silex\Application; use Bru2s\Silex\CacheServiceProvider; $app = new Application(); $app['config'] = [ 'cache' => [ 'adapter' => 'Memcache', 'host' => '127.0.0.1', 'port' => 11211, 'connectable' => true // If not need of one connection put FALSE (in Filesystem must be FALSE) ] ]; $app->register(new CacheServiceProvider()); $app['cache']->save('your-key', 'your-data'); $data = $app['cache']->fetch('your-key'); echo $data; // your-data

License

MIT License, (*6)

The Versions

17/09 2015

dev-master

9999999-dev

Modyfication of dafiti/cache-service-provider. Filesystems support added.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ɓukasz Wrczycki

cache silex doctrine bru2s

17/09 2015

0.0.4.1

0.0.4.1

Modyfication of dafiti/cache-service-provider. Filesystems support added.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ɓukasz Wrczycki

cache silex doctrine bru2s

17/09 2015

0.0.4

0.0.4.0

Modyfication of dafiti/cache-service-provider. Filesystems support added.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ɓukasz Wrczycki

cache silex doctrine bru2s

14/05 2015

0.0.3

0.0.3.0

A Silex Service Provider for Doctrine Cache

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pedro Ribeiro da Silva Neto

cache silex doctrine dafiti

08/04 2015

0.0.2

0.0.2.0

A Silex Service Provider for Doctrine Cache

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pedro Ribeiro da Silva Neto

cache silex doctrine dafiti

02/04 2015

0.0.1

0.0.1.0

A Silex Service Provider for Doctrine Cache

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pedro Ribeiro da Silva Neto

cache silex doctrine dafiti