Search by

roxblnfk / unpoly

roxblnfk

Remove unnecessary PHP polyfills

Package info

github.com/roxblnfk/unpoly

Type:metapackage

pkg:composer/roxblnfk/unpoly

Fund package maintenance!

Boosty

Statistics

Installs: 112 931

Dependents: 67

Suggesters: 1

Stars: 40

Open Issues: 1

1.8.6.8 2026-11-15 11:34 UTC

README

Remove unnecessary PHP polyfills

Sponsor


Composer installs symfony/polyfill-php* packages even when the PHP version already has every function they backport. This metapackage declares them as replaced, so Composer skips them and the autoloader stops loading dead code.

Get Started

Installation

composer require roxblnfk/unpoly

PHP Latest Version on Packagist License Total Downloads

Versions

A version 1.8.X.N requires PHP >= 8.X and replaces the polyfill of PHP 8.X plus the N previous PHP versions:

Version Requires PHP Replaces polyfills
1.8.6.0 >= 8.6 8.6
1.8.6.1 >= 8.6 8.5 .. 8.6
1.8.6.6 >= 8.6 8.0 .. 8.6
1.8.6.8 >= 8.6 7.3 .. 8.6

Composer picks the newest version your PHP allows, which replaces the widest range of polyfills published for that PHP. Pin a lower N only to keep some polyfills installed.