Download the PHP package coderius/php-helpers without Composer
On this page you can find all versions of the php package coderius/php-helpers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-helpers
PHP HELPERS
- ArrayHelper
ArrayHelper usage:
- ArrayHelper::toArray($object, $properties = [], $recursive = true)
- ArrayHelper::merge($ar, $ar2)
- ArrayHelper::getValue($array, $key, $default = null)
- ArrayHelper::setValue(&$array, $path, $value)
- ArrayHelper::remove(&$array, $key, $default = null)
- ArrayHelper::removeValue(&$array, $value)
- ArrayHelper::index($array, $key, $groups = [])
- ArrayHelper::getColumn($array, $name, $keepKeys = true)
- ArrayHelper::map($array, $from, $to, $group = null)
- ArrayHelper::keyExists($key, $array, $caseSensitive = true)
- ArrayHelper::multisort(&$array, $key, $direction = SORT_ASC, $sortFlag = SORT_REGULAR)
- ArrayHelper::htmlEncode($data, $valuesOnly = true, $charset = null)
- ArrayHelper::htmlDecode($data, $valuesOnly = true)
- ArrayHelper::isAssociative($array, $allStrings = true)
- ArrayHelper::isIndexed($array, $consecutive = false)
- ArrayHelper::isIn($needle, $haystack, $strict = false)
- ArrayHelper::isTraversable($var)
- ArrayHelper::isSubset($needles, $haystack, $strict = false)
- ArrayHelper::filter($array, $filters)
- ArrayHelper::recursiveSort(array &$array, $sorter = null)
Usage examples for ArrayHelper see in tests tests/Unit/ArrayHelperTest.php
Installation
The preferred way to install this extension is through composer.
Run the command in the terminal:
Testing
- Go to root folder in terminal and run tests:
All versions of php-helpers with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2.0|^8.0
The package coderius/php-helpers contains the following files
Loading the files please wait ....