PHPackages                             rundiz/php-scheduler - 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. rundiz/php-scheduler

Abandoned → [dragonmantank/cron-expression](/?search=dragonmantank%2Fcron-expression)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

rundiz/php-scheduler
====================

Run the task on shcedule using PHP.

1.0.2(4y ago)2223MITPHPPHP &gt;=5.4.0

Since Jan 23Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/Rundiz/php-scheduler)[ Packagist](https://packagist.org/packages/rundiz/php-scheduler)[ RSS](/packages/rundiz-php-scheduler/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Schedule Component
==================

[](#schedule-component)

**No more update!** Use [Cron expression](https://github.com/dragonmantank/cron-expression) instead.

Run the task on shcedule using PHP. This is not cron job or cron tab but it is the schedule tasks using PHP.
You may need cron job or not, in case that there is no cron job just include it in the main PHP file that always called when users visited the webpage.

Tested on PHP 8.4.

[![Latest Stable Version](https://camo.githubusercontent.com/7d06cdf4f44b14763429b39742334ce98645d0b9c9ad1cb3dee4d0df6a51ff34/68747470733a2f2f706f7365722e707567782e6f72672f72756e64697a2f7068702d7363686564756c65722f762f737461626c65)](https://packagist.org/packages/rundiz/php-scheduler)[![License](https://camo.githubusercontent.com/5ee6fc24c893a156cb506e7e7003f32a82dc1c5d8289388a4589534f1c11a1b9/68747470733a2f2f706f7365722e707567782e6f72672f72756e64697a2f7068702d7363686564756c65722f6c6963656e7365)](https://packagist.org/packages/rundiz/php-scheduler)[![Total Downloads](https://camo.githubusercontent.com/05954f64728fcc1990f50e90a5563612eb78dbd0c3653f889b58e051850965d6/68747470733a2f2f706f7365722e707567782e6f72672f72756e64697a2f7068702d7363686564756c65722f646f776e6c6f616473)](https://packagist.org/packages/rundiz/php-scheduler)

Example:
--------

[](#example)

```
$PhpSchedule = new \Rundiz\PhpSchedule\PhpSchedule();
$PhpSchedule->add('unique-name', 'https://mysite.localhost/page/to/works', ['12', '15']);// run on 12 (midday) and 15.
$PhpSchedule->run();
```

Or you can run task using your function/class.

```
$PhpSchedule = new \Rundiz\PhpSchedule\PhpSchedule();
$PhpSchedule->add('unique-name1', 'myFunction', ['12', '15']);// run on 12 (midday) and 15.
$PhpSchedule->add('unique-name2', ['myStaticClass', 'myStaticMethod'], ['12', '15']);// run on 12 (midday) and 15.
$MyClass = new MyClass();
$PhpSchedule->add('unique-name3', [$MyClass, 'myMethod'], ['12', '15']);// run on 12 (midday) and 15.
$PhpSchedule->run();
```

---

For more example, please look inside **tests** folder.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance45

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

1614d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1568262?v=4)[vee w,](/maintainers/ve3)[@ve3](https://github.com/ve3)

---

Top Contributors

[![ve3](https://avatars.githubusercontent.com/u/1568262?v=4)](https://github.com/ve3 "ve3 (18 commits)")

---

Tags

cron-jobsscheduled-tasksschedulercronscheduletask

### Embed Badge

![Health badge](/badges/rundiz-php-scheduler/health.svg)

```
[![Health](https://phpackages.com/badges/rundiz-php-scheduler/health.svg)](https://phpackages.com/packages/rundiz-php-scheduler)
```

###  Alternatives

[dragonmantank/cron-expression

CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due

4.7k474.1M487](/packages/dragonmantank-cron-expression)[symfony/scheduler

Provides scheduling through Symfony Messenger

8810.8M52](/packages/symfony-scheduler)[rewieer/taskschedulerbundle

Task Scheduler with CRON for Symfony

63242.1k](/packages/rewieer-taskschedulerbundle)[mult1mate/cron-manager

Flexible cron tasks manager for MVC-type applications

40338.5k3](/packages/mult1mate-cron-manager)[ttree/scheduler

Simple task scheduler for Neos Flow Framework

21108.8k1](/packages/ttree-scheduler)[webtoolsnz/yii2-scheduler

A scheduled task runner for Yii2 applications

1881.1k](/packages/webtoolsnz-yii2-scheduler)

PHPackages © 2026

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