PHPackages                             andydune/task-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. [Queues &amp; Workers](/categories/queues)
4. /
5. andydune/task-lock

ActiveLibrary[Queues &amp; Workers](/categories/queues)

andydune/task-lock
==================

Usefull for control tasks to avoid parallel job. It support MongoDB or files.

v1.5.1(6y ago)027MITPHPPHP ^7.1CI failing

Since Mar 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/AndyDune/TaskLock)[ Packagist](https://packagist.org/packages/andydune/task-lock)[ Docs](https://github.com/AndyDune/ConditionalExecution)[ RSS](/packages/andydune-task-lock/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (9)Dependencies (3)Versions (10)Used By (0)

TaskLock
========

[](#tasklock)

[![Build Status](https://camo.githubusercontent.com/49058b8f01dedcf92a396ff482e909b5ac36b410163061bb60a7cffd43cec9ef/68747470733a2f2f7472617669732d63692e6f72672f416e647944756e652f5461736b4c6f636b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/AndyDune/TaskLock)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/8c21f10eca4aa9491b9a4ae16204f7aef21e8505bdb3737fc803cb8abc96f9fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e647964756e652f7461736b2d6c6f636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/andydune/task-lock)[![Total Downloads](https://camo.githubusercontent.com/21727fd35a2eb56be0b4e16df7e6f47dd0ac79782e95eb32e2c01c9370fb47e5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e647964756e652f7461736b2d6c6f636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/andydune/task-lock)

It is usefull for control tasks to avoid parallel job. It support MongoDB or files.

Installation
------------

[](#installation)

Installation using composer:

```
composer require andydune/task-lock

```

Or if composer didn't install globally:

```
php composer.phar require andydune/task-lock

```

Or edit your `composer.json`:

```
"require" : {
     "andydune/task-lock": "^1"
}

```

And execute command:

```
php composer.phar update

```

Use it command if you don not need dev code:

```
php composer.phar update --no-dev

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~63 days

Recently: every ~124 days

Total

9

Last Release

2527d ago

PHP version history (2 changes)v1.0.0PHP ^7

v1.3.1PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/79da3b2173a2cefb36abc9b4707cf2c633df8f2c748633ccf64186f5c0e7be6c?d=identicon)[AndyDune](/maintainers/AndyDune)

---

Top Contributors

[![AndyDune](https://avatars.githubusercontent.com/u/3772910?v=4)](https://github.com/AndyDune "AndyDune (16 commits)")

---

Tags

php-libraryphp7phpcrontask

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/andydune-task-lock/health.svg)

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

###  Alternatives

[orisai/scheduler

Cron job scheduler - with locks, parallelism and more

4041.4k5](/packages/orisai-scheduler)[g4/tasker

Application asynchronous tasks manager and runner, cron-like PHP implementation with ability to run tasks with resolution in seconds

1455.5k](/packages/g4-tasker)[microsoft/azure-storage-queue

This project provides a set of PHP client libraries that make it easy to access Microsoft Azure Storage Queue APIs.

142.7M18](/packages/microsoft-azure-storage-queue)[pmill/php-scheduler

Simple PHP task scheduler

1734.1k](/packages/pmill-php-scheduler)

PHPackages © 2026

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