{"id":15023635,"url":"https://github.com/adhocore/php-polyfills","last_synced_at":"2025-10-03T22:31:09.051Z","repository":{"id":56940811,"uuid":"107555333","full_name":"adhocore/php-polyfills","owner":"adhocore","description":"Miscellaneous polyfills for older PHP versions","archived":true,"fork":false,"pushed_at":"2020-02-07T22:34:57.000Z","size":26,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-25T19:59:10.766Z","etag":null,"topics":["adhocore","array-column","miscellaneous-polyfills","older-php-versions","php","php-polyfills","php55","polyfill"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adhocore.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-19T14:11:58.000Z","updated_at":"2023-06-19T06:10:59.000Z","dependencies_parsed_at":"2022-08-21T01:40:33.805Z","dependency_job_id":null,"html_url":"https://github.com/adhocore/php-polyfills","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fphp-polyfills","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fphp-polyfills/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fphp-polyfills/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fphp-polyfills/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adhocore","download_url":"https://codeload.github.com/adhocore/php-polyfills/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219876480,"owners_count":16554760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adhocore","array-column","miscellaneous-polyfills","older-php-versions","php","php-polyfills","php55","polyfill"],"created_at":"2024-09-24T19:59:16.505Z","updated_at":"2025-10-03T22:31:03.771Z","avatar_url":"https://github.com/adhocore.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## adhocore/php-polyfills\n\n[![Latest Version](https://img.shields.io/github/release/adhocore/php-polyfills.svg?style=flat-square)](https://github.com/adhocore/php-polyfills/releases)\n[![Travis Build](https://img.shields.io/travis/adhocore/php-polyfills/master.svg?style=flat-square)](https://travis-ci.org/adhocore/php-polyfills?branch=master)\n[![Scrutinizer CI](https://img.shields.io/scrutinizer/g/adhocore/php-polyfills.svg?style=flat-square)](https://scrutinizer-ci.com/g/adhocore/php-polyfills/?branch=master)\n[![Codecov branch](https://img.shields.io/codecov/c/github/adhocore/php-polyfills/master.svg?style=flat-square)](https://codecov.io/gh/adhocore/php-polyfills)\n[![StyleCI](https://styleci.io/repos/107555333/shield)](https://styleci.io/repos/107555333)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)\n\n\nMiscellaneous polyfills for older PHP versions. This library should run on any PHP5 versions or later.\nAt 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.\n\n\n# Installation\n\n\n```bash\ncomposer require adhocore/php-polyfills\n\n```\n\n\n# Available Polyfills\n\nPlease see the native counterpart (linked below) for the documentation and usage.\n\n### PHP5.5\n\n- **array_column** - [native](http://php.net/array_column)\n\n### PHP5.4\n\n- **http_response_code** - [native](http://php.net/http_response_code)\n- **hex2bin** - [native](http://php.net/hex2bin)\n\n*and more to come by*\n\n# Tests\n\nThe 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.\n\nTo run the tests:\n```bash\nvendor/bin/phpunit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadhocore%2Fphp-polyfills","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadhocore%2Fphp-polyfills","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadhocore%2Fphp-polyfills/lists"}