PHPackages                             juzna/flowphp - 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. juzna/flowphp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

juzna/flowphp
=============

Cooperative Multitasking for PHP

46PHP

Since Nov 2Pushed 12y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Flow
----

[](#flow)

**Cooperative Multitasking framework in PHP**

**Version**: proof of concept

More about *cooperative multitasking* in my [blog post on gist](https://gist.github.com/juzna/7194037).

Inspired by [flow](https://github.com/kaja47/flow) by K47.

Applications
------------

[](#applications)

These sample applications are using Flow framework:

- [GitHub activity](https://github.com/juzna/nette-sandbox-flow) - example of integration with Nette Framework
- [Selenium 2 WebDriver](https://github.com/juzna/php-webdriver) - non-blocking selenium driver
- your app can be here, email me

Usage
-----

[](#usage)

Get inspired by [examples](https://github.com/juzna/flowphp/tree/master/examples) or applications which use *Flow*.

The best way to install *Flow framework* into your project is by using [Composer](http://getcomposer.org/):

```
$ composer require juzna/flowphp
$ composer update
```

You may also want to add [React](http://reactphp.org), which works well with *promises* and *Flow framework*. But you better get a [forked version](https://github.com/juzna/react), which integrates better with *Flow*.

Add this towards the end of your `composer.json`:

```
{
  ...
	"repositories": [
		{
			"type": "vcs",
			"url": "https://github.com/juzna/react"
		}
	]
}
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/91e1afff616c785d9e0b517037da7f4de3991fb26dea9106c84f40fe2e90d0fc?d=identicon)[juzna.cz](/maintainers/juzna.cz)

---

Top Contributors

[![juzna](https://avatars.githubusercontent.com/u/227416?v=4)](https://github.com/juzna "juzna (27 commits)")

### Embed Badge

![Health badge](/badges/juzna-flowphp/health.svg)

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

###  Alternatives

[dekuan/dedid

An unique id generator for distributed database by DeKuan, Inc.

221.4k4](/packages/dekuan-dedid)

PHPackages © 2026

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