PHPackages                             eureka/component-validation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. eureka/component-validation

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

eureka/component-validation
===========================

PHP validation library.

6.2.0(2mo ago)01.4k↓100%2MITPHPPHP &gt;=8.3CI passing

Since Jun 7Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/eureka-framework/component-validation)[ Packagist](https://packagist.org/packages/eureka/component-validation)[ RSS](/packages/eureka-component-validation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (7)Versions (16)Used By (2)

component-validation
====================

[](#component-validation)

[![Current version](https://camo.githubusercontent.com/ffc9aeafc94486b27606cc62dc715787b685f5557dbc0acd1c2ae31cd7567316/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657572656b612f636f6d706f6e656e742d76616c69646174696f6e2e7376673f6c6f676f3d636f6d706f736572)](https://packagist.org/packages/eureka/component-validation)[![Supported PHP version](https://camo.githubusercontent.com/a6226f5200fbd8ca1dda8d38f953e4bc2be89e2ef5b9d38d66f014f9b4a3a121/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6f676f3d706870266c6162656c3d504850266d6573736167653d253345253344382e3326636f6c6f723d373737626234)](https://packagist.org/packages/eureka/component-validation)[![CI](https://github.com/eureka-framework/component-validation/workflows/CI/badge.svg)](https://github.com/eureka-framework/component-validation/workflows/CI/badge.svg)[![Quality Gate Status](https://camo.githubusercontent.com/a819a5d4bfaea99597b3bdba13bab206aeadd03780589add12754815c5a5e15c/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d657572656b612d6672616d65776f726b5f636f6d706f6e656e742d76616c69646174696f6e266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=eureka-framework_component-validation)[![Coverage](https://camo.githubusercontent.com/9586c1de2bc13824a13e7062ad2a1ff65368ebaaead21f2b2c8110376f360dca/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d657572656b612d6672616d65776f726b5f636f6d706f6e656e742d76616c69646174696f6e266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=eureka-framework_component-validation)

Validation Component

Usage
-----

[](#usage)

### Validator Factory

[](#validator-factory)

Validation component use php native `filter_var()` to validate contents. Please refer to [Validate filters](https://www.php.net/manual/en/filter.filters.validate.php) and [filter\_var()](https://www.php.net/manual/en/function.filter-var.php) for more information about options &amp; flags.

```
