dirkuu / array-reindex
This package is abandoned and no longer maintained.
No replacement package was suggested.
Package contain function who allows to easy sets new indexes
1.0.0
2020-09-13 20:16 UTC
Requires
- php: ^7.0
This package is not auto-updated.
Last update: 2023-10-10 10:47:06 UTC
README
Installation via "composer require"
composer require dirkuu/array-reindex
Usage
array_reindex
/** * Sets new indexes for every element using values from passed column name * * @param array $array * @param mixed $columnName * @return array */ function array_reindex(array $array, $columnName): array