roxblnfk / unpoly
Remove unnecessary PHP polyfills
Fund package maintenance!
1.8.6.8
2026-11-15 11:34 UTC
Requires
- php: >=8.6
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
This package is auto-updated.
Last update: 2026-11-15 11:49:53 UTC
README
Remove unnecessary PHP polyfills
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
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.