juzna/flowphp

Cooperative Multitasking for PHP

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

This package is not auto-updated.

Last update: 2024-11-19 02:08:41 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"
		}
	]
}