PHPackages                             loganhenson/cronlock - 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. loganhenson/cronlock

ActiveLibrary[Caching](/categories/caching)

loganhenson/cronlock
====================

Load balanced cron jobs. Backed by Predis.

v1.0.0(10y ago)070PHP &gt;=7.0

Since Jun 20Compare

[ Source](https://github.com/loganhenson/cronlock)[ Packagist](https://packagist.org/packages/loganhenson/cronlock)[ Docs](https://github.com/loganhenson/cronlock)[ RSS](/packages/loganhenson-cronlock/feed)WikiDiscussions Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

CronLock
========

[](#cronlock)

> Load balanced cron jobs. Backed by Predis.

install
-------

[](#install)

```
composer require loganhenson/cronlock

```

sample usage
------------

[](#sample-usage)

```
// 5 minutes after job, it will release the lock
$CronLock = new CronLock(new Client());

// a nice key might be `__CLASS__ . __METHOD__`
$CronLock->cron('some unique key for the job', function () {
	//do some cron stuff
});
```

License
-------

[](#license)

MIT

Inspiration / Credit to
-----------------------

[](#inspiration--credit-to)

>

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

3661d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2792946?v=4)[Logan Henson](/maintainers/loganhenson)[@loganhenson](https://github.com/loganhenson)

---

Tags

rediscronlockloadbalancer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/loganhenson-cronlock/health.svg)

```
[![Health](https://phpackages.com/badges/loganhenson-cronlock/health.svg)](https://phpackages.com/packages/loganhenson-cronlock)
```

###  Alternatives

[rhubarbgroup/redis-cache

A persistent object cache backend for WordPress powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.

52999.8k1](/packages/rhubarbgroup-redis-cache)[symfony-bundles/redis-bundle

Symfony Redis Bundle

271.2M6](/packages/symfony-bundles-redis-bundle)[pdffiller/qless-php

PHP Bindings for qless

29113.7k1](/packages/pdffiller-qless-php)[icecave/chastity

Distributed advisory locking for PHP.

1313.3k](/packages/icecave-chastity)[avtonom/semaphore-bundle

A generic locking Symfony bundle for PHP, that uses named locks for semaphore acquire and release, to guarantee atomicity

112.8k](/packages/avtonom-semaphore-bundle)

PHPackages © 2026

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