ducks-project/spl-types
Composer 安装命令:
composer require ducks-project/spl-types
包简介
Polyfill Module for SplType PHP extension. This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string
关键字:
README 文档
README
- Project page: https://github.com/ducks-project/spl-types
- Repository: https://github.com/ducks-project/spl-types
- Original PHP extension: http://php.net/manual/en/intro.spl-types.php
Description
This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string
It provides classes unavailable if you can't install SPL Types extension:
General information
Since v7.0.0, breaking changes has appeared in relation to the pecl extension. This is mainly due to the lack of maintenance and relevance of the original extension, associated with the strong typing introduced in: php 7.4 and the existence of enums since php 8.
Glossary
License
This library is released under the MIT license.
统计信息
- 总下载量: 33.04k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-25