定制 drago-ex/utils 二次开发

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

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

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.

License: MIT PHP version Tests Coding Style CodeFactor Coverage Status

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-18