PHPackages                             symfony/polyfill-io-poll - 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. symfony/polyfill-io-poll

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

symfony/polyfill-io-poll
========================

Symfony polyfill for the Io\\Poll API

v1.41.0(1mo ago)011MITPHPPHP &gt;=8.1

Since Jul 2Pushed 2w agoCompare

[ Source](https://github.com/symfony/polyfill-io-poll)[ Packagist](https://packagist.org/packages/symfony/polyfill-io-poll)[ Docs](https://symfony.com)[ Fund](https://symfony.com/sponsor)[ GitHub Sponsors](https://github.com/fabpot)[ RSS](/packages/symfony-polyfill-io-poll/feed)WikiDiscussions 1.x Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (1)

Symfony Polyfill / Io / Poll
============================

[](#symfony-polyfill--io--poll)

This component provides the [`Io\Poll` API](https://wiki.php.net/rfc/poll_api)added to PHP 8.6 core, for PHP &gt;= 8.1:

- `Io\Poll\Context`, `Io\Poll\Watcher` and `StreamPollHandle`
- `Io\Poll\Backend` and `Io\Poll\Event` enums
- `Io\IoException` and the `Io\Poll\*Exception` hierarchy

The polyfill is backed by `stream_select()`, so only the `Poll` backend is available and edge-triggering is not supported. Event detection follows the semantics of the native `poll` backend as closely as `select()` allows: `Event::Error` is only reported for connection resets, `Event::ReadHangUp` is never reported, and a TCP half-close reports `Read|HangUp` where native reports plain `Read`. The phpt tests of the native implementation, borrowed from php-src, run against the polyfill as part of the test suite.

`Context::wait()` takes its timeout as a `Time\Duration`. That class is not required to call `wait()` without a timeout; install `symfony/polyfill-time`to build one on PHP &lt; 8.6.

More information can be found in the [main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md).

License
=======

[](#license)

This library is released under the [MIT license](LICENSE).

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance94

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~35 days

Total

2

Last Release

15d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47313?v=4)[Fabien Potencier](/maintainers/fabpot)[@fabpot](https://github.com/fabpot)

---

Top Contributors

[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (2 commits)")

---

Tags

compatibilitycomponentiojavascriptpollpolyfillportableshimsymfonysymfony-componentsymfony-polyfillcompatibilityportablepolyfillshimiopoll

### Embed Badge

![Health badge](/badges/symfony-polyfill-io-poll/health.svg)

```
[![Health](https://phpackages.com/badges/symfony-polyfill-io-poll/health.svg)](https://phpackages.com/packages/symfony-polyfill-io-poll)
```

###  Alternatives

[symfony/polyfill-mbstring

Symfony polyfill for the Mbstring extension

7.8k1.2B860](/packages/symfony-polyfill-mbstring)[symfony/polyfill-php72

Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions

4.7k693.1M36](/packages/symfony-polyfill-php72)[symfony/polyfill-intl-idn

Symfony polyfill for intl's idn\_to\_ascii and idn\_to\_utf8 functions

3.3k840.0M162](/packages/symfony-polyfill-intl-idn)[symfony/polyfill-intl-normalizer

Symfony polyfill for intl's Normalizer class and related functions

2.1k904.7M75](/packages/symfony-polyfill-intl-normalizer)[symfony/polyfill-php73

Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions

2.4k608.9M90](/packages/symfony-polyfill-php73)[symfony/polyfill-php80

Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions

1.7k888.1M605](/packages/symfony-polyfill-php80)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
