Skip to content
roxblnfkPublic

About

Remove PHP-XX polyfill

Resources

Security policy

Stars

40 stars

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

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.

About

Remove PHP-XX polyfill

Resources

Security policy

Stars

40 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors