henderjon / chevron-filters
This package is abandoned and no longer maintained.
No replacement package was suggested.
system for filtering either scalar values or arrays of values
v2.1.1
2014-08-18 16:16 UTC
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: ~4.0
README
Filters is a system to write, instantiate, and/or mix-in functions for filtering either scalar values or arrays of values. The two provided are meant to be common, but the system itself is meant to be quite extensible.
There is the issue of using two or more of these filters as traits in the same class. The implementing class must resolve the conflicting method names. This is inconvenient but expected with trait usage.
Peruse the tests or, if present, the examples directory to see usage.
See packagist for version/installation info. At the moment, I recommend using ~2.0
.