PHPackages                             hybridlogic/cron - 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. hybridlogic/cron

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

hybridlogic/cron
================

PHP Crontab is a crontab written in pure PHP with support for parsing standard cron expressions. No shell access required.

v1.0.3(13y ago)96811MITPHPPHP &gt;=5.3.0

Since Jan 2Pushed 13y ago4 watchersCompare

[ Source](https://github.com/Dachande663/PHP-Cron)[ Packagist](https://packagist.org/packages/hybridlogic/cron)[ Docs](https://github.com/Dachande663/PHP-Cron)[ RSS](/packages/hybridlogic-cron/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

PHP Crontab
===========

[](#php-crontab)

PHP Crontab is a crontab written in pure PHP with support for parsing standard cron expressions. No shell access required.

0.0 Table of Contents
---------------------

[](#00-table-of-contents)

1.0 Introduction 2.0 Examples 3.0 Running Tests 4.0 Troubleshooting 5.0 Changelog

1.0 Introduction
----------------

[](#10-introduction)

PHP Crontab provides a simple way to register multiple PHP jobs to execute at certain times. Simply set up a regular crontab to hit the script and add as many jobs as you need to.

PHP Crontab supports (almost) the entire crontab expression format syntax. Each Job can have multiple expressions and trigger multiple callbacks.

Cron expression format:

---

minute | hour | day of month | month | day of week | year (optional)

Field formats:

- = All values / = Range increment , = List values

- = Range

Currently only the L keyword is supported for Day of month, to identify the last day of the month. W, # and L (for day of week) are currently *NOT* supported.

2.0 Examples
------------

[](#20-examples)

```
$crontab = new \HybridLogic\Cron\Crontab;

$crontab->add_job(
	\HybridLogic\Cron\Job::factory('test')
		->on('* * * * *')
		->trigger(function(){
			echo "test run\n";
		})
	);

$count = $crontab->run();
echo "Executed $count job(s)";

```

3.0 Running Tests
-----------------

[](#30-running-tests)

phpunit tests

4.0 Troubleshooting
-------------------

[](#40-troubleshooting)

Nothing here yet.

5.0 Changelog
-------------

[](#50-changelog)

\[2012-12-14\] Initial Version

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

4874d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aedcc742160323259a035924ab75295484c394d67fe1ab3b855620ba790785eb?d=identicon)[Dachande663](/maintainers/Dachande663)

---

Top Contributors

[![Dachande663](https://avatars.githubusercontent.com/u/106847?v=4)](https://github.com/Dachande663 "Dachande663 (5 commits)")

---

Tags

eventsqueuecronscheduleworkercrontab

### Embed Badge

![Health badge](/badges/hybridlogic-cron/health.svg)

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

###  Alternatives

[swarrot/swarrot

A simple lib to consume RabbitMQ queues

3654.4M8](/packages/swarrot-swarrot)[jms/job-queue-bundle

Allows to run and schedule Symfony console commands as background jobs.

3462.3M5](/packages/jms-job-queue-bundle)[orisai/scheduler

Cron job scheduler - with locks, parallelism and more

4037.1k4](/packages/orisai-scheduler)[tarantool/queue

PHP bindings for Tarantool Queue.

64136.2k4](/packages/tarantool-queue)[clue/mq-react

Mini Queue, the lightweight in-memory message queue to concurrently do many (but not too many) things at once, built on top of ReactPHP

144691.7k4](/packages/clue-mq-react)[nuwber/rabbitevents

The Nuwber RabbitEvents package

120515.8k3](/packages/nuwber-rabbitevents)

PHPackages © 2026

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