Arrayutils
Library that provides a method to fancy manipulate an array
Install / Use
/learn @PresentKim/ArrayutilsREADME
<!-- PROJECT BADGES -->
<div align="center">
</div>
<!-- PROJECT LOGO -->
<br />
<div align="center">
<img src="https://raw.githubusercontent.com/presentkim/arrayutils/main/assets/icon.png" alt="Logo" width="80" height="80">
<h3>arrayutils</h3>
<p align="center">
An library that provides a method to fancy manipulate an array!
View in Packagist · Report a bug · Request a feature
</p> </div>:book: 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)
:package: Installation
You can use this library with composer.
- Go to Packagist
Note for Pocketmine plugin developer
You can use this library with poggit
- Go to Poggit
:memo: License
You can check out the full license here
This project is licensed under the terms of the MIT license
