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(1y ago)010MITPHP

Since Jun 11Pushed 1y 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 1mo ago

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

23

—

LowBetter than 27% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

704d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9cfebdac26e1d96019b42f309490e7ff07bb46cb05fd0731a87cf3c1739a3bf8?d=identicon)[Faheem2407](/maintainers/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)
```

###  Alternatives

[cmgmyr/phploc

A tool for quickly measuring the size of a PHP project.

266.6M3](/packages/cmgmyr-phploc)[marionnewlevant/snitch

Report when two people might be editing the same element (eg entry, category, or global) or field

3585.1k2](/packages/marionnewlevant-snitch)

PHPackages © 2026

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