PHPackages                             agrandesr/array-conditions - 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. agrandesr/array-conditions

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

agrandesr/array-conditions
==========================

This is a little tool to make conditions using arrays and without dangerous eval functions.

v1.0.0(3y ago)0241MITPHP

Since Jan 31Pushed 3y ago1 watchersCompare

[ Source](https://github.com/AGrandesR/php-conditional-arrays)[ Packagist](https://packagist.org/packages/agrandesr/array-conditions)[ RSS](/packages/agrandesr-array-conditions/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

Condition Array
===============

[](#condition-array)

This library is only to check conditions in a array model.

For example:

```
$arrayCondition = [10,">",1];
```

The use is simple, you only need to require the class and call the static method *check()*.

```
$boolValue = ConditionArray::check([10,">",1]);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

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

1248d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/61379065?v=4)[A.Grandes.R](/maintainers/AGrandesR)[@AGrandesR](https://github.com/AGrandesR)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/agrandesr-array-conditions/health.svg)

```
[![Health](https://phpackages.com/badges/agrandesr-array-conditions/health.svg)](https://phpackages.com/packages/agrandesr-array-conditions)
```

###  Alternatives

[wpzoom/instagram-widget-by-wpzoom

Simple and lightweight widget for WordPress to display your Instagram feed

241.4k](/packages/wpzoom-instagram-widget-by-wpzoom)

PHPackages © 2026

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