PHPackages                             switon/executor - 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. [Framework](/categories/framework)
4. /
5. switon/executor

ActiveLibrary[Framework](/categories/framework)

switon/executor
===============

Task execution contracts and runtime adapters for Switon Framework

v1.0.0(1mo ago)033MITPHPPHP &gt;=8.3CI passing

Since May 10Pushed 1mo agoCompare

[ Source](https://github.com/switon-php/executor)[ Packagist](https://packagist.org/packages/switon/executor)[ Docs](https://github.com/switon-php/executor)[ RSS](/packages/switon-executor/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (2)Versions (2)Used By (3)

Switon Executor Package
=======================

[](#switon-executor-package)

Task execution contracts and runtime adapters for Switon Framework.

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

[](#installation)

```
composer require switon/executor
```

**Requirements:** PHP 8.3+

Quick Start
-----------

[](#quick-start)

```
use Switon\Core\Attribute\Autowired;
use Switon\Core\Contract\RunnerInterface;
use Switon\Executor\ExecutorInterface;

final class ReportRunner implements RunnerInterface
{
    public function run(mixed $payload): array
    {
        return ['id' => $payload['id'] ?? null];
    }
}

final class JobService
{
    #[Autowired] protected ExecutorInterface $executor;

    public function runOnce(): void
    {
        $futures = $this->executor->invokeAll([[ReportRunner::class, ['id' => 1]]]);
        // inspect $futures[0]->isSuccessful(), result(), error()
    }
}
```

Docs:

License
-------

[](#license)

MIT.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance94

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

31d ago

### Community

Maintainers

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

---

Top Contributors

[![switon-php](https://avatars.githubusercontent.com/u/247358032?v=4)](https://github.com/switon-php "switon-php (8 commits)")

---

Tags

executorruntimeswitontasksruntimeexecutorTasksswiton

### Embed Badge

![Health badge](/badges/switon-executor/health.svg)

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

###  Alternatives

[utopia-php/queue

A powerful task queue.

11218.6k5](/packages/utopia-php-queue)[extism/extism

Make your software programmable. Run WebAssembly extensions in your app using the first off-the-shelf, universal plug-in system.

325.3k1](/packages/extism-extism)[yii2-extensions/franken-php

Supercharge your Yii2 applications with FrankenPHP blazing-fast HTTP server.

232.8k](/packages/yii2-extensions-franken-php)

PHPackages © 2026

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