lum/lum-compat
最新稳定版本:v2.6.1
Composer 安装命令:
composer require lum/lum-compat
包简介
Lum library compatibility level meta-package
README 文档
README
Summary
A meta-package to be used by my other Lum libraries to determine their PHP compatibility level, and if any polyfills are required.
All libraries that update to the next lum-compat version must bump their
major version at the same time. Even if there are no changes to the library
at all, changing the target lum-compat version is breaking compatibility.
Versions
Each version is stored in its own branch, and there will be tags made for each branch as updates are made.
-
v2.x- Requires PHP 8.1 as minimum version.
- Requires the
mbstringextension. - May provide polyfills for some PHP 9 features in the future.
-
v1.x- Requires PHP 7.4 as minimum version.
- Requires the
jsonextension (which is core in PHP 8.) - Will provide polyfills for some PHP 8 features in PHP 7 runtimes.
Usage
This meta-package isn't really useful outside the other Lum PHP libraries.
The production composer.json will use a caret version range operator
in the requires property, e.g. ^2.0 to specify the v2.x branch.
Internal composer-dev* files will use a dev branch specifier instead,
so for example, 2.x-dev would point to the v2.x branch.
Official URLs
This package can be found in two places:
Author
Timothy Totten
License
统计信息
- 总下载量: 148
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 33
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-12-11