agrandesr/array-conditions

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

Maintainers

Package info

github.com/AGrandesR/php-conditional-arrays

pkg:composer/agrandesr/array-conditions

Statistics

Installs: 24

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2023-01-31 12:00 UTC

This package is auto-updated.

Last update: 2026-03-01 00:41:07 UTC


README

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]);