juzna/flowphp

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Cooperative Multitasking for PHP

dev-master 2013-11-02 21:53 UTC

This package is not auto-updated.

Last update: 2021-11-22 12:01:08 UTC


README

Cooperative Multitasking framework in PHP

Version: proof of concept

More about cooperative multitasking in my blog post on gist.

Inspired by flow by K47.

Applications

These sample applications are using Flow framework:

Usage

Get inspired by examples or applications which use Flow.

The best way to install Flow framework into your project is by using Composer:

$ composer require juzna/flowphp
$ composer update

You may also want to add React, which works well with promises and Flow framework. But you better get a forked version, which integrates better with Flow.

Add this towards the end of your composer.json:

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