empaphy / polyphill
A metapackage for PHP that installs the polyfills you need, and removes those that are redundant.
Installs: 3 424
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:metapackage
Requires
- php: >=5.3.3
- empaphy/polyphill-apcu: ^1
- empaphy/polyphill-bcmath: ^1
- empaphy/polyphill-intl: ^1
- empaphy/polyphill-mbstring: ^1
- empaphy/polyphill-php: ^1
- empaphy/polyphill-uuid: ^1
Requires (Dev)
- roave/security-advisories: dev-master
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.