PHPackages                             masakielastic/polling - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. masakielastic/polling

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

masakielastic/polling
=====================

Reference implementation of the PHP RFC Polling API using stream\_select().

0.1.0(2mo ago)00MITPHPPHP ^8.2

Since Mar 3Pushed 2mo agoCompare

[ Source](https://github.com/masakielastic/php-polling)[ Packagist](https://packagist.org/packages/masakielastic/polling)[ RSS](/packages/masakielastic-polling/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

masakielastic/polling
=====================

[](#masakielasticpolling)

`masakielastic/polling` is a Composer-installable reference implementation for the PHP RFC Polling API.

Install
-------

[](#install)

```
composer require masakielastic/polling
```

Status
------

[](#status)

This package currently provides a `stream_select()`-based implementation.

- `Io\Poll\Backend::Poll` is available.
- `Io\Poll\Backend::Auto` resolves to `Poll`.
- `StreamPollHandle` is the only supported handle type.
- `Event::EdgeTriggered` is not supported.

Usage
-----

[](#usage)

```
