PHPackages                             faheem2407/play-with-array - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. faheem2407/play-with-array

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

faheem2407/play-with-array
==========================

This is basic array manipulation package

V0.0.1(2y ago)010MITPHP

Since Jun 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Faheem2407/PlayWithArray)[ Packagist](https://packagist.org/packages/faheem2407/play-with-array)[ RSS](/packages/faheem2407-play-with-array/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Basic Array Manipulation
------------------------

[](#basic-array-manipulation)

How to use this package:
------------------------

[](#how-to-use-this-package)

1. create a fresh laravel project or inside your existing project just require this : composer require faheem2407/play-with-array
2. create an object of class ArrayHelper like this: $object = new ArrayHelper(\[43,21,5,8,92,56\]);//here you must have to pass an array.
3. call searchPosition function to get the position of that number if present in the array if not present it will also show an user-friendly message.Use like this: echo $object-&gt;searchPosition(23); output: (1). 23 is not present in this array. (2). 8 is found at position 4.
4. call sortArray function to make the passing array sorted. like this: print\_r($object-&gt;sortArray()); output: { \[0\]=&gt;5, \[1\]=&gt;8, \[2\]=&gt;21, \[3\]=&gt;43, \[4\]=&gt;56, \[5\]=&gt;92 }

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

751d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/166124351?v=4)[MD. Abid Hasan Fahim](/maintainers/Faheem2407)[@Faheem2407](https://github.com/Faheem2407)

---

Top Contributors

[![Faheem2407](https://avatars.githubusercontent.com/u/166124351?v=4)](https://github.com/Faheem2407 "Faheem2407 (4 commits)")

### Embed Badge

![Health badge](/badges/faheem2407-play-with-array/health.svg)

```
[![Health](https://phpackages.com/badges/faheem2407-play-with-array/health.svg)](https://phpackages.com/packages/faheem2407-play-with-array)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
