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-04-21 09:10:27 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