Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/presentkim/arrayutils
Library that provides a method to fancy manipulate an array
https://github.com/presentkim/arrayutils
library php php-library php8
Last synced: 3 months ago
JSON representation
Library that provides a method to fancy manipulate an array
- Host: GitHub
- URL: https://github.com/presentkim/arrayutils
- Owner: PresentKim
- License: mit
- Created: 2020-10-03T05:35:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-21T04:58:35.000Z (over 2 years ago)
- Last Synced: 2024-05-30T16:42:39.604Z (8 months ago)
- Topics: library, php, php-library, php8
- Language: PHP
- Homepage: https://packagist.org/packages/presentkim/arrayutils
- Size: 130 KB
- Stars: 11
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Packagist Status][packagist-status-badge]][packagist-url]
[![Packagist Downloads][packagist-downloads-badge]][packagist-url]
[![Stars][stars-badge]][stars-url]
[![License][license-badge]][license-url]
arrayutils
An library that provides a method to fancy manipulate an array![View in Packagist][packagist-url] · [Report a bug][issues-url] · [Request a feature][issues-url]
## :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)](https://arrayutils.docs.present.kim/)
-----
## :package: Installation
You can use this library with composer.
- Go to [**Packagist**](https://packagist.org/packages/presentkim/arrayutils)> **Note** for [Pocketmine][pmmp-url] plugin developer
> You can use this library with poggit
> - Go to [**Poggit**](https://poggit.pmmp.io/ci/presentkim-pm/arrayutils/~)-----
## :memo: License
> You can check out the full license [here](LICENSE)
This project is licensed under the terms of the **MIT** license[packagist-status-badge]: https://poser.pugx.org/presentkim/arrayutils/v?style=for-the-badge
[packagist-downloads-badge]: https://poser.pugx.org/presentkim/arrayutils/downloads?style=for-the-badge
[stars-badge]: https://img.shields.io/github/stars/presentkim/arrayutils.svg?style=for-the-badge
[license-badge]: https://img.shields.io/github/license/presentkim/arrayutils.svg?style=for-the-badge[packagist-url]: https://packagist.org/packages/presentkim/arrayutils
[stars-url]: https://github.com/presentkim/arrayutils/stargazers
[issues-url]: https://github.com/presentkim/arrayutils/issues
[license-url]: https://github.com/presentkim/arrayutils/blob/main/LICENSE[pmmp-url]: https://github.com/pmmp/Pocketmine-MP