drago-ex/utils
最新稳定版本:v1.0.5
Composer 安装命令:
composer require drago-ex/utils
包简介
Extended ArrayHash with additional methods for converting data to arrays, including support for uppercase keys.
README 文档
README
This package includes several utility classes for working with arrays, case conversions, and handling database-related tasks.
Requirements
- PHP >= 8.3
- Nette Framework
- Composer
Installation
composer require drago-ex/utils
Methods:
Converts the internal data of the ExtraArrayHash object into a simple PHP array.
$data->toArray();
Converts the internal data of the ExtraArrayHash object into a PHP array with all keys transformed to uppercase.
$data->toArrayUpper();
Converts a string from CamelCase to snake_case. This method is useful for converting variable or method names commonly used in programming languages.
CaseConverter::snakeCase(...)
统计信息
- 总下载量: 3.46k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-06-18