This package provides tools to validate and sanitize objects and arrays.
This library requires PHP 5.4 or later; we recommend using the latest available version of PHP as a matter of principle. It has no userland dependencies.
It is installable and autoloadable via Composer as aura/filter.
Alternatively, download a release or clone this repository, then require or include its autoload.php file.
To run the unit tests at the command line, issue
composer install and then
phpunit at the package root. This requires Composer to be available as
composer, and PHPUnit to be available as
This library attempts to comply with PSR-1, PSR-2, and PSR-4. If
you notice compliance oversights, please send a patch via pull request.
To ask questions, provide feedback, or otherwise communicate with the Aura
community, please join our Google Group,
follow @auraphp on Twitter, or chat with us
on #auraphp on Freenode.
This package is fully documented here.