Libraries tagged by array functions
petemc/transpose
25 Downloads
A utility package adding a transpose function to multi-dimensional arrays, interchanging array indices.
mirkoschmidt/arraydot
564 Downloads
Functions to handle multidimensional arrays and dots.
loukel/goodreads
6 Downloads
Goodreads RSS reader: PHP class that has a function to return an array of each books' attributes on a specified shelf. Therefore, you can have a dynamic bookshelf that updates when you update Goodreads. The widgets Goodreads provides are quite restrictive and are static.
lithephp/swisshelper
14 Downloads
Lithe SwissHelper is a comprehensive PHP utility library designed to simplify common programming tasks. It provides a collection of helper functions for string manipulation, array handling, data validation, and more, all designed with a focus on developer experience and code readability.
halpdesk/helpers
109 Downloads
Some array, string and console helper functions
bits-hammer/collection-utils
4 Downloads
A lib contaning some functions to work with arrays and maps
rehfeld/comparator
4 Downloads
Helps you write concise array sorting callbacks for php's usort function
raheelarifkhans/json-to-html-converter
3 Downloads
This PHP function takes a JSON object and converts it into a structured HTML detail page. The function handles nested objects and arrays, displaying them appropriately in a user-friendly format.
f2/globals
12 Downloads
Provides a function `F2\globals(string $namespace):array` that allow you to save data without polluting the `$_GLOBALS` superglobal.
henderjon/simple_scan_args
136 Downloads
a simple function to parse an $argv array
eclipxe/construct-named-parameters
48 Downloads
Helper functions to create objects using an array as named parameters
techworker/php-fn-sortby
13 Downloads
Small function that can be used to sort an array of any shape. PHP7 only.
sectsect/wp-split-single-page
12 Downloads
Supply some functions and Pagination for split single page for each array of custom field without on your template.
pixweber/xmlfiletoarray
1 Downloads
A very simple function to load your XML file and convert it into PHP array. Easy and effective.
landlib/treealgorithms
31 Downloads
This group of methods for work with tree structure. Provide methods build tree from flat array, find node in the tree by id, walk tree and execulte callback function for each node. Node of the tree has fields like as id, parent_id, children. Concrete names of the tree node fields can be configured with TreeAlgorithms properties idFieldName, parentIdFieldName, childsFieldName. Also exists javascript release, search lamzin-andrey/landlib on github.