Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/auraphp/Aura.Filter
Validate and sanitize arrays and objects.
https://github.com/auraphp/Aura.Filter
aura component filter php sanitization standalone validation validator
Last synced: 2 days ago
JSON representation
Validate and sanitize arrays and objects.
- Host: GitHub
- URL: https://github.com/auraphp/Aura.Filter
- Owner: auraphp
- License: mit
- Created: 2012-08-08T15:17:52.000Z (over 12 years ago)
- Default Branch: 4.x
- Last Pushed: 2022-12-20T05:41:27.000Z (almost 2 years ago)
- Last Synced: 2024-10-20T19:16:43.969Z (21 days ago)
- Topics: aura, component, filter, php, sanitization, standalone, validation, validator
- Language: PHP
- Homepage:
- Size: 1.22 MB
- Stars: 160
- Watchers: 19
- Forks: 33
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-php - Aura.Filter - Provides tools to validate and sanitize objects and arrays. (Table of Contents / Filtering and Validation)
- awesome-php-cn - Aura.Filter - 提供了一些工具来验证和清洁对象和数组. (目录 / 过滤和验证 Filtering and Validation)
- awesome-projects - Aura.Filter - Provides tools to validate and sanitize objects and arrays. (PHP / Filtering and Validation)
- awesome-php - Aura.Filter - Provides tools to validate and sanitize objects and arrays. (Table of Contents / Filtering, Sanitizing and Validation)
README
# Aura.Filter
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](https://packagist.org/packages/aura/filter).
Alternatively, [download a release](https://github.com/auraphp/Aura.Filter/releases) or clone this repository, then require or include its _autoload.php_ file.
### Quality
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/auraphp/Aura.Filter/badges/quality-score.png?b=4.x)](https://scrutinizer-ci.com/g/auraphp/Aura.Filter/)
[![codecov](https://codecov.io/gh/auraphp/Aura.Filter/branch/4.x/graph/badge.svg?token=UASDouLxyc)](https://codecov.io/gh/auraphp/Aura.Filter)
[![Continuous Integration](https://github.com/auraphp/Aura.Filter/actions/workflows/continuous-integration.yml/badge.svg?branch=4.x)](https://github.com/auraphp/Aura.Filter/actions/workflows/continuous-integration.yml)To run the unit tests at the command line, issue `composer install` and then `vendor/bin/phpunit` at the package root. This requires [Composer](http://getcomposer.org/) 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.[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
[PSR-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[PSR-4]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md### Community
To ask questions, provide feedback, or otherwise communicate with the Aura
community, please join our [Google Group](http://groups.google.com/group/auraphp),
follow [@auraphp on Twitter](http://twitter.com/auraphp), or chat with us
on #auraphp on Freenode.## Documentation
This package is fully documented [here](./docs/index.md).