This package includes several utility classes for working with arrays, case conversions, and handling database-related tasks.
- PHP >= 8.3
- Nette Framework
- Composer
composer require drago-ex/utils
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(...)