PHPackages                             chencha/conveyor - 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. [CLI &amp; Console](/categories/cli)
4. /
5. chencha/conveyor

ActiveLibrary[CLI &amp; Console](/categories/cli)

chencha/conveyor
================

A convey system for commands and requests

0.1.6(11y ago)0361MITPHP

Since Mar 9Pushed 11y ago1 watchersCompare

[ Source](https://github.com/prodeveloper/conveyor)[ Packagist](https://packagist.org/packages/chencha/conveyor)[ RSS](/packages/chencha-conveyor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (9)Used By (1)

\#Command and Request Convey System

\##Basic Usage

\###Bootstrap Code

```
$userDbBelt=new UserDbBelt(); //Extends Chencha\Conveyor\Belt
$userDbBelt->registerMachines(SaveInDatabase(), new UpdateElastic());

```

Machines extend *\\Chencha\\Conveyor\\Machine*

```
$mainConveyor=new Chencha\Conveyor();
$mainConveyor->registerBelt($userBelt);

```

\###Running Belt

```
$userDbBelt =$mainConveyor->makeBelt(UserDbBelt::class);
$subject=new User("email"=>"test@test.com","password"=>"good_password");
$$userDbBelt->run($subject);

$subject->getResponse();
$subject->hasError();
$subject->getErrors();

```

\##Processes

Processes are belts that are chained together. To stop a process before the next belt. A StopBeltException should be thrown.

```
$userRegistration= new RegistrationProcess();
$userRegistration->registerBelts($userValidation,$userDbBelt); //Ordering is important
$mainConveyor->registerProcess($userRegistration);

```

\###Running a process $userRegistrationProcess=$mainConveyor-&gt;makeProcess(RegistrationProcess::class); $userRegistrationProcess-&gt;run($user);

\##Exception StopProcessException //This exceptions will stop the process before next belt is run All other exceptions bubble up immediately

\##Deploy status

```
This system is not ready for production use changes expected coming days

```

\##Examples

To check the examples please see

- examples/process\_example.php
- examples/belt\_example.php

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

Total

7

Last Release

4066d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a87b37a74388f9b12fcdbf3bd4a2df5212a570e1042b1781600116a8e79b791?d=identicon)[jchencha](/maintainers/jchencha)

---

Top Contributors

[![prodeveloper](https://avatars.githubusercontent.com/u/1224225?v=4)](https://github.com/prodeveloper "prodeveloper (45 commits)")

### Embed Badge

![Health badge](/badges/chencha-conveyor/health.svg)

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

###  Alternatives

[humbug/php-scoper

Prefixes all PHP namespaces in a file or directory.

7963.0M35](/packages/humbug-php-scoper)[humbug/box

Fast, zero config application bundler with PHARs.

1.3k801.5k69](/packages/humbug-box)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[bestmomo/nice-artisan

Web interface for Laravel Artisan

215149.3k](/packages/bestmomo-nice-artisan)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1322.1k12](/packages/mahocommerce-maho)

PHPackages © 2026

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