Skip to content

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

License

Notifications You must be signed in to change notification settings

empaphy/polyphill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published