PHPackages                             kl/php-redis-lock - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kl/php-redis-lock

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kl/php-redis-lock
=================

RedisLock for PHP is a synchronization mechanism for enforcing limits on access to a resource in an environment where there are many threads of execution. A lock is designed to enforce a mutual exclusion concurrency control policy.

v1.1(9y ago)1935MITPHPPHP &gt;=5.5

Since Jul 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/kongxinchi/php-redis-lock)[ Packagist](https://packagist.org/packages/kl/php-redis-lock)[ Docs](http://github.com/kongxinchi/php-redis-lock)[ RSS](/packages/kl-php-redis-lock/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

[![MIT license](https://camo.githubusercontent.com/4661abfe916186acde514558e7f040833cb63ba7098401a51ce339cbb2b4cf9e/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](http://opensource.org/licenses/MIT)[![Latest Stable Version](https://camo.githubusercontent.com/c16acd70fd7ea28761edff4b05be6b98e326d48d9eb57795acba3a8918b541bc/68747470733a2f2f706f7365722e707567782e6f72672f636865707261736f762f7068702d72656469732d6c6f636b2f762f737461626c65)](https://packagist.org/packages/cheprasov/php-redis-lock)[![Total Downloads](https://camo.githubusercontent.com/e676c73bf27f891a138336e59557aad155612297ccc3e8360ea660a980096e0a/68747470733a2f2f706f7365722e707567782e6f72672f636865707261736f762f7068702d72656469732d6c6f636b2f646f776e6c6f616473)](https://packagist.org/packages/cheprasov/php-redis-lock)

RedisLock v1.0.0 for PHP &gt;= 5.5
==================================

[](#redislock-v100-for-php--55)

About
-----

[](#about)

RedisLock for PHP is a synchronization mechanism for enforcing limits on access to a resource in an environment where there are many threads of execution. A lock is designed to enforce a mutual exclusion concurrency control policy. Based on [redis](http://redis.io/).

Usage
-----

[](#usage)

### Create a new instance of RedisLock

[](#create-a-new-instance-of-redislock)

```
