reactphp-flux

Flux, the lightweight stream processor to concurrently do many (but not too many) things at once, built on top of ReactPHP.

MIT License

Downloads
78.4K
Stars
59
Committers
3
reactphp-flux - Latest Release

Published by clue over 1 year ago

  • Feature: Forward compatibility with upcoming Promise v3.
    (#26 by @clue)

  • Feature: Full support for PHP 8.2 and update test environment.
    (#25 by @clue)

  • Update documentation and simplify examples by updating to new default loop.
    (#23 and #24 by @PaulRotmann)

  • Improve test suite, ensure 100% code coverage and use GitHub actions for continuous integration (CI).
    (#21 and #27 by @clue)

reactphp-flux -

Published by clue about 4 years ago

  • Enhanced documentation for ReactPHP's new HTTP client.
    (#20 by @SimonFrings)

  • Improve test suite and add .gitattributes to exclude dev files from exports.
    Prepare PHP 8 support, update to PHPUnit 9 and simplify test matrix.
    (#16, #18 and #19 by @SimonFrings)

reactphp-flux -

Published by clue over 4 years ago

  • Feature: Add any() helper to await first successful fulfillment of operations.
    (#15 by @clue)

    // new: limit concurrency while awaiting first operation to complete successfully
    $promise = Transformer::any($input, 3, function ($data) use ($browser, $url) {
        return $browser->post($url, [], json_encode($data));
    });
    
    $promise->then(function (ResponseInterface $response) {
        echo 'First successful response: ' . $response->getBody() . PHP_EOL;
    });
    
  • Improve test suite to run tests on PHP 7.4 and simplify test matrix
    and add support / sponsorship info.
    (#13 and #14 by @clue)

reactphp-flux -

Published by clue about 6 years ago

  • Feature: Add all() helper to await successful fulfillment of all operations.
    (#11 by @clue)

    // new: limit concurrency while awaiting all operations to complete
    $promise = Transformer::all($input, 3, function ($data) use ($browser, $url) {
        return $browser->post($url, [], json_encode($data));
    });
    
    $promise->then(function ($count) {
        echo 'All ' . $count . ' jobs successful!' . PHP_EOL;
    });
    
  • Feature: Forward compatibility with stable Stream v1.0 LTS.
    (#10 by @clue)

reactphp-flux -

Published by clue over 6 years ago

  • First stable release, following SemVer

    I'd like to thank @geertvanbommel,
    a fellow software architect specializing in database batch processing and
    API development, for sponsoring the first release! 🎉
    Thanks to sponsors like this, who understand the importance of open source
    development, I can justify spending time and focus on open source development
    instead of traditional paid work.

    Did you know that I offer custom development services and issuing invoices for
    sponsorships of releases and for contributions? Contact me (@clue) for details.

Package Rankings
Top 8.84% on Packagist.org
Badges
Extracted from project README
CI status code coverage installs on Packagist
Related Projects