presentkim/arrayutils

Library that provides a method to fancy manipulate an array

4.2.0 2022-06-21 04:02 UTC

This package is auto-updated.

Last update: 2024-10-21 10:16:16 UTC


README

Packagist Status Packagist Downloads Stars License


Logo

arrayutils

An library that provides a method to fancy manipulate an array!

View in Packagist ยท Report a bug ยท Request a feature

๐Ÿ“– Introduction

The evil PHP array functions give developers the pain of:

  • Some functions requires array first, but some functions require array last...
  • Some functions returns result, but some functions modify referenced variables...
  • Code was line-break because since it is a function...
  • Each function has different parameters to the callback function...
  • No modern functions using arrays. Such as every, some

I created this library to solve these problems and make code flow like js-array

For a detailed description, Click here (GitBook)

๐Ÿ“ฆ Installation

You can use this library with composer.

Note for Pocketmine plugin developer
You can use this library with poggit

๐Ÿ“ License

You can check out the full license here

This project is licensed under the terms of the MIT license