PHPackages                             themehybrid/hybrid-action-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. themehybrid/hybrid-action-scheduler

ActiveLibrary

themehybrid/hybrid-action-scheduler
===================================

Background processing for the Hybrid Core framework.

1.0.2(1mo ago)04↓75%GPL-2.0-or-laterPHPPHP &gt;=8.2

Since Dec 20Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/themehybrid/hybrid-action-scheduler)[ Packagist](https://packagist.org/packages/themehybrid/hybrid-action-scheduler)[ Docs](https://github.com/themehybrid/hybrid-action-scheduler)[ RSS](/packages/themehybrid-hybrid-action-scheduler/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Hybrid Action Scheduler
=======================

[](#hybrid-action-scheduler)

A background processing package for the Hybrid Core framework.

Requirements
------------

[](#requirements)

- WordPress 6.8+.
- PHP 8.2+.
- [Composer](https://getcomposer.org/) for managing PHP dependencies.

Note
----

[](#note)

Either [Action Scheduler plugin](https://wordpress.org/plugins/action-scheduler/) should be installed, or install manually.

```
/*
 * Action scheduler.
 *
 * It needs to be called early because it hooks into `plugins_loaded`.
 *
 * @see https://actionscheduler.org/usage/#loading-action-scheduler
 */
require_once( plugin_dir_path( __FILE__ ) . '/libraries/action-scheduler/action-scheduler.php' );
```

Registration
------------

[](#registration)

Register the service provider with your application:

```
$app->register( \Hybrid\Action\Scheduler\ActionSchedulerServiceProvider::class );
```

This binds the `hybrid/queue` singleton, making it available via the `queue()` helper.

Usage
-----

[](#usage)

The `queue()` helper, or the `Queue` facade, returns the `Queue` instance, which wraps [Action Scheduler](https://actionscheduler.org/).

Using the helper:

```
use function Hybrid\Action\Scheduler\queue;

queue()->add( 'my_hook', [ 'foo' => 'bar' ], 'my-group' );
```

Using the facade:

```
use Hybrid\Action\Scheduler\Facades\Queue;

Queue::add( 'my_hook', [ 'foo' => 'bar' ], 'my-group' );
```

```
// Run once, at a specific time.
Queue::schedule_single( strtotime( 'tomorrow' ), 'my_hook', [ 'foo' => 'bar' ], 'my-group' );

// Run repeatedly at a fixed interval (in seconds).
Queue::schedule_recurring( time(), DAY_IN_SECONDS, 'my_hook', [], 'my-group' );

// Run on a cron-style schedule.
Queue::schedule_cron( time(), '0 0 * * *', 'my_hook', [], 'my-group' );

// Cancel the next scheduled instance (and any recurring instances after it).
Queue::cancel( 'my_hook', [ 'foo' => 'bar' ], 'my-group' );

// Cancel all scheduled instances.
Queue::cancel_all( 'my_hook' );

// Get the next scheduled run time.
$next = Queue::get_next( 'my_hook' );

// Search for scheduled actions.
$actions = Queue::search( [ 'hook' => 'my_hook', 'status' => 'pending' ] );
```

Each `$hook` is a standard WordPress action, so hook into it like any other:

```
add_action( 'my_hook', function ( $foo ) {
    // Handle the job.
} );
```

Copyright and License
---------------------

[](#copyright-and-license)

This project is licensed under the [GNU GPL](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html), version 2 or later.

2008 – 2026 © [Theme Hybrid](https://themehybrid.com).

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance90

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community7

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

Total

3

Last Release

47d ago

PHP version history (2 changes)1.0.0PHP &gt;=8.0

1.0.2PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/1de1e83ee5f3ca172fe3ba84ff61db13777e06e2ac56f9f7e0dfc41af42050d6?d=identicon)[saas786](/maintainers/saas786)

---

Top Contributors

[![saas786](https://avatars.githubusercontent.com/u/1642796?v=4)](https://github.com/saas786 "saas786 (15 commits)")

---

Tags

wordpress

### Embed Badge

![Health badge](/badges/themehybrid-hybrid-action-scheduler/health.svg)

```
[![Health](https://phpackages.com/badges/themehybrid-hybrid-action-scheduler/health.svg)](https://phpackages.com/packages/themehybrid-hybrid-action-scheduler)
```

###  Alternatives

[wp-pay/core

Core components for the WordPress payment processing library.

26121.9k128](/packages/wp-pay-core)[wp-media/imagify-plugin

Image optimization plugin for WordPress by WP Media.

8371.2k](/packages/wp-media-imagify-plugin)[wp-pay-extensions/gravityforms

Gravity Forms driver for the WordPress payment processing library.

1134.5k6](/packages/wp-pay-extensions-gravityforms)[rankmath/seo-by-rank-math

Rank Math is the most powerful way to get BEST WordPress SEO tools added to your website.

1332.2k](/packages/rankmath-seo-by-rank-math)[typerocket/core

The TypeRocket Pro Core.

3821.2k1](/packages/typerocket-core)

PHPackages © 2026

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