Skip to content
/ utils Public

🔨 Extended ArrayHash with additional methods for converting data to arrays, including support for uppercase keys.

License

Notifications You must be signed in to change notification settings

drago-ex/utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drago Utils

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(...)

About

🔨 Extended ArrayHash with additional methods for converting data to arrays, including support for uppercase keys.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages