neunerlei/arrays

A package that provides a multitude of tools to traverse, sort and modify arrays in your daily routine


README

Create new Release codecov GitHub issues GitHub license

A package that provides a multitude of tools to traverse, sort and modify arrays in your daily routine. It can create arrays based of multiple input types like XML, string lists or objects. The package also provides a powerful solution to get entries from an array using a path definition. Say goodbye to "isset" and "array_key_exists".

Installation

Install this package using composer:

composer require neunerlei/arrays

Documentation

The documentation can be found here.

Running tests

  • Clone the repository
  • Install the dependencies with composer install
  • Run the tests with composer test

Building the documentation

The documentation is powered by vuepress, you can quite simply spin up a dev server like so:

  • Clone the repository
  • Navigate to docs
  • Install the dependencies with npm install
  • Run the dev server with npm run dev

Special Thanks

Special thanks goes to the folks at LABOR.digital (which is the german word for laboratory and not the english "work" :D) for making it possible to publish my code online.

Postcardware

You're free to use this package, but if it makes it to your production environment I highly appreciate you sending me a postcard from your hometown, mentioning which of our package(s) you are using.

You can find my address here.

Thank you :D