Libraries tagged by array functions

serhatozles/yii2-arraysearch

2 Favers
290 Downloads

This function is searching inside of array.

Go to Download


rehfeld/comparator

0 Favers
4 Downloads

Helps you write concise array sorting callbacks for php's usort function

Go to Download


raheelarifkhans/json-to-html-converter

1 Favers
2 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.

Go to Download


f2/globals

0 Favers
10 Downloads

Provides a function `F2\globals(string $namespace):array` that allow you to save data without polluting the `$_GLOBALS` superglobal.

Go to Download


henderjon/simple_scan_args

0 Favers
132 Downloads

a simple function to parse an $argv array

Go to Download


eclipxe/construct-named-parameters

0 Favers
47 Downloads

Helper functions to create objects using an array as named parameters

Go to Download


timo/createhtmltable

0 Favers
3 Downloads

a small function to create an html table with arrays u need

Go to Download


techworker/php-fn-sortby

1 Favers
13 Downloads

Small function that can be used to sort an array of any shape. PHP7 only.

Go to Download


sectsect/wp-split-single-page

1 Favers
11 Downloads

Supply some functions and Pagination for split single page for each array of custom field without on your template.

Go to Download


pixweber/xmlfiletoarray

0 Favers
1 Downloads

A very simple function to load your XML file and convert it into PHP array. Easy and effective.

Go to Download


landlib/treealgorithms

0 Favers
29 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.

Go to Download


johncube/deepl

0 Favers
5 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

Go to Download


camilord/nz-companies-register

1 Favers
23 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.

Go to Download


ashleydawson/canonically-flatten-tree

0 Favers
3202 Downloads

Pure function to flatten a tree (n-dimensional array) into a canonicalised list array

Go to Download


alexanevsky/output-normalizer-bundle

1 Favers
36 Downloads

Provides functions which allows to flexibly customize the output of objects and entities to an array or JSON by defining normalization rules in classes.

Go to Download


<< Previous Next >>