Giter Club home page Giter Club logo

php-polyfills's Introduction

adhocore/php-polyfills

Latest Version Travis Build Scrutinizer CI Codecov branch StyleCI Software License

Miscellaneous polyfills for older PHP versions. This library should run on any PHP5 versions or later. At the time being it contains some polyfills for PHP5.4 and PHP5.5. However it is being actively developed and new polyfills will be added from time to time.

Installation

composer require adhocore/php-polyfills

Available Polyfills

Please see the native counterpart (linked below) for the documentation and usage.

PHP5.5

PHP5.4

and more to come by

Tests

The tests for this library runs with latest PHP version and asserts against the native implementation to ensure that the polyfills this library provides are compatible as much as possible.

To run the tests:

vendor/bin/phpunit

php-polyfills's People

Contributors

adhocore avatar dependabot-preview[bot] avatar peter279k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

peter279k

php-polyfills's Issues

Version incompatibility

Hi,

The version required in the composer.json make the library useless:

The library is mean to add functions that were added in PHP 5.4 and 5.5, but the minimum version allowed by the composer.json is PHP 7.0.0.

So Composer will never (normally) allow to install this library with PHP 5.3 and 5.4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.