empaphy/polyphill

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

Maintainers

Package info

github.com/empaphy/polyphill

Wiki

Type:metapackage

pkg:composer/empaphy/polyphill

Statistics

Installs: 42 088

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

1.0.0 2024-11-06 10:46 UTC

This package is auto-updated.

Last update: 2026-03-06 13:56:34 UTC


README

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

composer require 'empaphy/polyphill:^1'

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.