Skip to content

Commit 380a9e1

Browse files
committed
docs : Update README.md
2 parents b028c34 + 203abaa commit 380a9e1

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
<div align="center">
22
<img src="assets/title.svg"><br>
33
<h1><img src="https://views.whatilearened.today/views/github/PresentKim/arrayutils.svg?style=for-the-badge" height="24" align="right"></h1><br>
4+
5+
<a href="https://packagist.org/packages/presentkim/arrayutils">
6+
<img src="https://poser.pugx.org/presentkim/arrayutils/v?style=for-the-badge" height="24">
7+
</a>
8+
<a href="https://packagist.org/packages/presentkim/arrayutils">
9+
<img src="https://poser.pugx.org/presentkim/arrayutils/downloads?style=for-the-badge" height="24">
10+
</a>
11+
<br>
412
<img src="https://img.shields.io/github/stars/PresentKim/arrayutils?style=for-the-badge" height="24">
513
<img src="https://img.shields.io/github/license/PresentKim/arrayutils.svg?style=for-the-badge" height="24">
614
<a href="https://poggit.pmmp.io/ci/PresentKim/arrayutils/~">
@@ -12,42 +20,34 @@
1220

1321
## :clipboard: Table of Contents
1422
- [:book: Introduction](#book-introduction)
15-
- [:zap: Features](#zap-features)
16-
- [:file_folder: Target software](#file_folder-target-software)
17-
- [:wrench: Installation](#wrench-installation)
1823
- [:package: Downloads](#package-downloads)
1924
- [:memo: License](#memo-license)
2025

2126
<br>
2227

2328
## :book: Introduction
24-
PHP's array functions are painful for developers. (like `array_map`, `array_filter`)
25-
- Array first or callback function first...
26-
- Return value or reference a variable...
29+
The ~~evil~~ PHP array functions give developers the pain of:
2730

28-
In addition, since it is a `function`, the code breaks every time.
29-
I created this library to solve these problems and make code flow like `js-array`.
30-
31-
<br>
32-
33-
## :zap: Features
34-
You can use `ArrayUtils` to use the features of this library.
35-
- For a detailed description, [Click here (Goto api docs)](https://arrayutils.docs.present.kim/)
36-
37-
<br>
38-
39-
## :file_folder: Target software:
40-
**This is works with [Pocketmine-MP](https://github.com/pmmp/PocketMine-MP)**
41-
42-
<br>
43-
44-
## :wrench: Installation
45-
See [poggit/support/virion](https://github.com/poggit/support/blob/master/virion.md)
31+
* Some functions **requires array first**, but some functions **require array last**...
32+
* Some functions **returns result**, but some functions **modify referenced variables**...
33+
* Code was **line-break** because since it is a function...
34+
* Each function has **different parameters to the callback function**...
35+
* No modern functions using arrays. Such as `every`, `some`
36+
37+
I created this library to solve these problems and make code flow like `js-array`
38+
39+
For a detailed description, [Click here (GitBook)](https://arrayutils.docs.present.kim/)
4640

4741
<br>
4842

4943
## :package: Downloads:
50-
Download from [Poggit](https://poggit.pmmp.io/ci/PresentKim/arrayutils/~)
44+
#### 1. Modern PHP developer
45+
You can use this library with composer.
46+
- Go to [**Packagist**](https://packagist.org/packages/presentkim/arrayutils)
47+
48+
#### 2. PMMP plguin developer
49+
You can use this library with poggit.
50+
- Go to [**Poggit**](https://poggit.pmmp.io/ci/PresentKim/arrayutils/~)
5151

5252
<br>
5353

0 commit comments

Comments
 (0)