2017 © Pedro Peláez
 

library sil

Single Instance Lock based Redis

image

wudege/sil

Single Instance Lock based Redis

  • Sunday, February 5, 2017
  • by wudege
  • Repository
  • 1 Watchers
  • 2 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

sil

Single Instance Lock based Redis, (*1)

Software License Build Status Scrutinizer Code Quality Coverage Status Latest Stable Version Total Downloads Twitter URL, (*2)

INSTALL

  • Use the composer command or the composer.json file. That's the recommend way. And the SDK is here wudege/sil
$ composer require wudege/sil

USAGE


require __DIR__ . '/../vendor/autoload.php'; $config = array( 'host' => '127.0.0.1', 'port' => 6379, 'database' => 5, ); $client = new \Predis\Client($config); $lock = new \Sil\RedisSingleInstanceLock($client); $lock->acquireLock('lock-example', sha1(uniqid(mt_rand(), true)), 3000);

TEST

bash $ ./vendor/bin/phpunit tests/Sil/Tests, (*3)

LICENSE

The MIT License (MIT). License File., (*4)

The Versions

05/02 2017

dev-master

9999999-dev

Single Instance Lock based Redis

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar wudege

05/02 2017

v1.0.2

1.0.2.0

Single Instance Lock based Redis

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar wudege

05/02 2017

v1.0.1

1.0.1.0

Single Instance Lock based Redis

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar wudege

10/01 2017

v1.0.0

1.0.0.0

Single Instance Lock based Redis

  Sources   Download

MIT

The Requires

 

The Development Requires

by Davis Zeng