PHPackages                             isszz/think-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. [Caching](/categories/caching)
4. /
5. isszz/think-lock

ActiveLibrary[Caching](/categories/caching)

isszz/think-lock
================

thinkphp6+ lock based on symfony lock

v0.0.1(2y ago)131MITPHPPHP &gt;=8.0.2

Since Jul 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/isszz/think-lock)[ Packagist](https://packagist.org/packages/isszz/think-lock)[ RSS](/packages/isszz-think-lock/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

think-lock
==========

[](#think-lock)

thinkphp6+ lock based on symfony lock

 [![Minimum PHP Version](https://camo.githubusercontent.com/e8223ac675b6f9feddec95a806a57528e8009d21035aca7c0650e6006fa81c36/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d3e3d382e302d3838393242462e737667)](https://packagist.org/packages/isszz/think-lock) [![Minimum Thinkphp Version](https://camo.githubusercontent.com/2bc52c123b7ec544298bd4aa257f4efb62df5ce49bfa1f6fdfadc2e20cfad61a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7468696e6b7068702d3e3d362e782d3838393242462e737667)](https://packagist.org/packages/isszz/think-lock) [![Stable Version](https://camo.githubusercontent.com/2ebcce506c9e2f202b180990de1d1e951fc20db70f0512cfb0d99ada4dca7e42/68747470733a2f2f706f7365722e707567782e6f72672f6973737a7a2f7468696e6b2d6c6f636b2f762f737461626c65)](https://packagist.org/packages/isszz/think-lock) [![Total Downloads](https://camo.githubusercontent.com/39f6e00cb17e463df310712ea5cf1f7c2f0974924c44f5910bc05d54db1265fa/68747470733a2f2f706f7365722e707567782e6f72672f6973737a7a2f7468696e6b2d6c6f636b2f646f776e6c6f616473)](https://packagist.org/packages/isszz/think-lock) [![License](https://camo.githubusercontent.com/cc21cb172a0c80100afd7648c92c7c06f6009bfd0a911f9df1b496eb9c8663ba/68747470733a2f2f706f7365722e707567782e6f72672f6973737a7a2f7468696e6b2d6c6f636b2f6c6963656e7365)](https://packagist.org/packages/isszz/think-lock)

安装
--

[](#安装)

```
composer require isszz/think-lock
```

说明
--

[](#说明)

目前支持 `File`，`Redis`，`PDO`驱动，安装后可在`config/locker.php`配置。 建议使用`Redis`或者`PDO`驱动

配置
--

[](#配置)

```
