定制 deviscoding/php-polyfill 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

deviscoding/php-polyfill

最新稳定版本:1.85.2

Composer 安装命令:

composer require deviscoding/php-polyfill

包简介

PHP Polyfill functions, interfaces, and classes in a PHP 7.0 friendly library for legacy applications.

README 文档

README

Polyfill code for commonly used PHP functions not present in older versions, in a library that is PHP 7.0 friendly for legacy applications.

Many polyfill functions are from symfony/polyfills and are attributed in the PHPdoc to their contributors.

Polyfills Included

Name Type PHP Version
array_key_first Function 7.3
array_key_last Function 7.3
is_countable Function 7.3
get_debug_type Function 8.0
str_contains Function 8.0
str_starts_with Function 8.0
str_ends_with Function 8.0
Stringable Interface 8.0
ValueErrror Class 8.0
array_is_list Function 8.1
json_validate Function 8.3
array_first Function 8.5
array_last Function 8.5

Versioning

The minor version indicates the latest PHP version from which some functionality is included.

The major version can be used to match compatibility with a specific PHP version:

  • All 1.x releases will maintain compatibility with PHP 7.0

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固