diskerror/utilities
Composer 安装命令:
composer require diskerror/utilities
包简介
PHP classes to wrap and inhance standard PHP features.
README 文档
README
This project is obsolete. Current coding style and wisdom don't use registries or singletons that are defined here. Other features will be moved to other projects.
PHP Utilities
PHP utilities tested with PHP version 5.4–5.6, 7.1.
Stack is an implemention of ArrayAccess with object access with LIFO, Last-In-First-Out behavior.
Registry is a singleton extending Stack with behavior similar to Zend_Registry.
DateTime and Date add convenience methods to the built-in PHP DateTime class. This includes the __toString method that returns a date-time string formatted for the default MySQL date-time format, and also adds handling of DateTime for MongoDB.
Sprintf adds format specifiers useful for creating MySQL statements.
Singleton uses Registry to store the "singleton" instances so this can be an abstract parent class.
Curl wraps the PHP curl functions.
Composer
> composer require diskerror/utilities
统计信息
- 总下载量: 62
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-12-01