Cooperative Multitasking framework in PHP
Version: proof of concept
More about cooperative multitasking in my blog post on gist.
Inspired by flow by K47.
These sample applications are using Flow framework:
- GitHub activity - example of integration with Nette Framework
- Selenium 2 WebDriver - non-blocking selenium driver
- your app can be here, email me
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"
}
]
}