Skip to content

stellarwp/arrays

Repository files navigation

StellarWP Arrays

Tests Static Analysis

A library for array manipulations.

Table of contents

Installation

It's recommended that you install Arrays as a project dependency via Composer:

composer require stellarwp/arrays

We actually recommend that this library gets included in your project using Strauss.

Luckily, adding Strauss to your composer.json is only slightly more complicated than adding a typical dependency, so checkout our strauss docs.

Notes on examples

Since the recommendation is to use Strauss to prefix this library's namespaces, all examples will be using the Boomshakalaka namespace prefix.

Acknowledgements

A number of array methods were ported over from The Events Calendar and the Laravel Framework.