aura / filter
Filters to validate and sanitize objects and arrays.
Installs: 509 482
Dependents: 12
Suggesters: 1
Security: 0
Stars: 160
Watchers: 19
Forks: 33
Open Issues: 3
Requires
- php: >=5.4.0
- ext-libxml: *
Requires (Dev)
- aura/di: ~2.0
- phpunit/phpunit: ~5.7 || ~4.8
Suggests
- ext-iconv: To support UTF-8 in string-length filters.
- ext-intl: To support IDNs in email filters.
- ext-mbstring: To support UTF-8 in string-length filters.
This package is auto-updated.
Last update: 2024-11-29 11:32:36 UTC
README
This package provides tools to validate and sanitize objects and arrays.
Foreword
Installation
This library requires PHP 7.2 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.
Quality
To run the unit tests at the command line, issue composer install
and then vendor/bin/phpunit
at the package root. This requires Composer to be available as composer
.
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.
Community
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.
Documentation
This package is fully documented here.