PHPackages                             alanalbert/laravel\_mutex - 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. alanalbert/laravel\_mutex

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

alanalbert/laravel\_mutex
=========================

Get the mutex file path of command in laravel.

1.0.1(5y ago)16MITPHP

Since Nov 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/anhoder/laravel_mutex)[ Packagist](https://packagist.org/packages/alanalbert/laravel_mutex)[ RSS](/packages/alanalbert-laravel-mutex/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Get the file mutex path of command in laravel or lumen.

获取laravel或lumen的命令文件锁路径。

Usage
=====

[](#usage)

1. Install ```
    composer require alanalbert/laravel_mutex --dev
    ```
2. Code ```
     $path = get_command_mutex(function (\Illuminate\Console\Scheduling\Schedule $schedule) {
         // schedule command
         return $schedule->command('test')->withoutOverlapping()->runInBackground();
     });
    ```

    You can find the file in `storage/framework/cache/data`.

**Different environments will get different paths.****不同的运行环境将会得到不同的文件锁路径。**

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2061d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelmutex

### Embed Badge

![Health badge](/badges/alanalbert-laravel-mutex/health.svg)

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

###  Alternatives

[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k91.9k1](/packages/mike-bronner-laravel-model-caching)[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k9.0M69](/packages/spatie-laravel-responsecache)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)

PHPackages © 2026

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