PHPackages                             serhatozles/yii2-arraysearch - 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. serhatozles/yii2-arraysearch

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

serhatozles/yii2-arraysearch
============================

This function is searching inside of array.

23013PHP

Since Jun 2Pushed 10y ago2 watchersCompare

[ Source](https://github.com/serhatozles/yii2-arraysearch)[ Packagist](https://packagist.org/packages/serhatozles/yii2-arraysearch)[ RSS](/packages/serhatozles-yii2-arraysearch/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Advanced Array Search
=====================

[](#advanced-array-search)

This function is searching inside of array. See:

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist serhatozles/yii2-arraysearch "dev-master"

```

or add

```
"serhatozles/yii2-arraysearch": "dev-master"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
$query		=	"a='Example World' and b>='2'";

$Array			=	array(
    'a' => array('d' => '2'),
    array('a' => 'Example World','b' => '2'),
    array('c' => '3'),
    array('d' => '4'),
);

$Result = \serhatozles\arraysearch\ArraySearch::q($Array,$query,1);

echo '';
print_r($Result);
echo '';

// Output:
// Array
// (
//    [0] => Array
//        (
//            [a] => Example World
//            [b] => 2
//        )
//
// )
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4962332?v=4)[-awxy](/maintainers/serhatozles)[@serhatozles](https://github.com/serhatozles)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/serhatozles-yii2-arraysearch/health.svg)

```
[![Health](https://phpackages.com/badges/serhatozles-yii2-arraysearch/health.svg)](https://phpackages.com/packages/serhatozles-yii2-arraysearch)
```

PHPackages © 2026

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