PHPackages                             wesleydekanter/laravel-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. wesleydekanter/laravel-lock

ActiveLibrary[Caching](/categories/caching)

wesleydekanter/laravel-lock
===========================

This package provides additional lock drivers and functionality on top of the default locking functionality.

08PHP

Since May 6Pushed 8y agoCompare

[ Source](https://github.com/wesleydekanter/laravel-lock)[ Packagist](https://packagist.org/packages/wesleydekanter/laravel-lock)[ RSS](/packages/wesleydekanter-laravel-lock/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel lock extension
----------------------

[](#laravel-lock-extension)

This package provides additional locking features on top of the default cache locking mechanism. It also provided alternate drivers to use in stead of the default cache lock.

### Cache lock

[](#cache-lock)

By default this package uses the default Cache lock functionality as provided in Laravel.

### File lock

[](#file-lock)

This package offers locking through the filesystem using flock. By default it places lock files in the storage/app/lock folder, though this can be changed in the config file.

### MySQL lock

[](#mysql-lock)

This package also offers locks using MySQL's GET\_LOCK() implementation. By default it uses the default connection, but the connection can be changed in the config file.

**NOTICE:** MySQL &lt;5.7 does not allow holding multiple locks on one connection! To circumvent this, the driver sets up a new connection with the same credentials for each new lock.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/38156489?v=4)[wesleydekanter](/maintainers/wesleydekanter)[@wesleydekanter](https://github.com/wesleydekanter)

---

Top Contributors

[![wesleydekanter](https://avatars.githubusercontent.com/u/38156489?v=4)](https://github.com/wesleydekanter "wesleydekanter (6 commits)")

### Embed Badge

![Health badge](/badges/wesleydekanter-laravel-lock/health.svg)

```
[![Health](https://phpackages.com/badges/wesleydekanter-laravel-lock/health.svg)](https://phpackages.com/packages/wesleydekanter-laravel-lock)
```

###  Alternatives

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
