PHPackages                             empaphy/polyphill - 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. empaphy/polyphill

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

empaphy/polyphill
=================

A metapackage for PHP that installs the polyfills you need, and removes those that are redundant.

1.0.0(1y ago)144.7k—9.4%1MITPHP &gt;=5.3.3

Since Nov 6Pushed 1y agoCompare

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

READMEChangelogDependencies (7)Versions (2)Used By (1)

polyphill
=========

[](#polyphill)

*The one-size-fits-all polyfill for PHP.*

Polyphill is a metapackage for PHP that installs the polyfills you need, and removes those that are redundant.

Installation
------------

[](#installation)

```
composer require 'empaphy/polyphill:^1'
```

How does it work?
-----------------

[](#how-does-it-work)

Polyphill does some clever composer dependency tricks to ensure that polyfills are only installed if your composer dependencies contain an explicit requirement for a polyfillable extension not natively provided by your platform.

This keeps your vendor directory free from unused packages in the best-case scenario, while ensuring maximum compatability on environments that miss any required extensions.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

559d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/17518a08933290f58c1665feec25cf0939d1c6413b7b4cc25ef6d965b9fcc473?d=identicon)[Alwin Garside](/maintainers/Alwin%20Garside)

---

Top Contributors

[![AlwinGarside](https://avatars.githubusercontent.com/u/193043?v=4)](https://github.com/AlwinGarside "AlwinGarside (1 commits)")

---

Tags

compatibilityportablepolyfillshim

### Embed Badge

![Health badge](/badges/empaphy-polyphill/health.svg)

```
[![Health](https://phpackages.com/badges/empaphy-polyphill/health.svg)](https://phpackages.com/packages/empaphy-polyphill)
```

###  Alternatives

[symfony/polyfill-mbstring

Symfony polyfill for the Mbstring extension

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

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

4.7k674.7M31](/packages/symfony-polyfill-php72)[symfony/polyfill-intl-idn

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

3.4k774.6M90](/packages/symfony-polyfill-intl-idn)[symfony/polyfill-intl-normalizer

Symfony polyfill for intl's Normalizer class and related functions

2.1k830.2M36](/packages/symfony-polyfill-intl-normalizer)[symfony/polyfill-php73

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

2.4k581.8M67](/packages/symfony-polyfill-php73)[symfony/polyfill-php80

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

1.7k815.2M457](/packages/symfony-polyfill-php80)

PHPackages © 2026

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