juzna / flowphp
Cooperative Multitasking for PHP
dev-master
2013-11-02 21:53 UTC
Requires
- php: >=5.5
- react/promise: *
- react/react: *
Requires (Dev)
- nette/tester: @dev
This package is not auto-updated.
Last update: 2024-11-05 01:57:47 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:
- GitHub activity - example of integration with Nette Framework
- Selenium 2 WebDriver - non-blocking selenium driver
- your app can be here, email me
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" } ] }