Libraries tagged by array functions
bits-hammer/collection-utils
4 Downloads
A lib contaning some functions to work with arrays and maps
serhatozles/yii2-arraysearch
303 Downloads
This function is searching inside of array.
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.
johncube/deepl
7 Downloads
this package contain function which calls deepl api in order to translate your text. It takes 4 arguments. key - your deepl api key. text - string which you want to translate or array of strings. target_lang - languague into which you want to translate. source_lang (optional) - source language. By default deepl will try to detect language by itself
emileperron/universal-identifier
9 Downloads
Provides an universal_identifier function, which generates a unique sha256 identifier for a provided object or array.
drewlabs/core-helpers
704 Downloads
Set of global function for handling utility task ranging from array, string and datetimes manipulations
camilord/nz-companies-register
26 Downloads
This helper package/component is useful when you have a form needs with real and valid NZ company names. I created this because MBIE don't have a working API yet. So this component will use their web search function and scrape the search result data into reusable output, ARRAY. Hope this will save your time and effort writing the same thing.