PHPackages                             sielatchom/validator - 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. sielatchom/validator

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

sielatchom/validator
====================

Simple PHP validation library

1.0.1(3mo ago)010MITPHP

Since Jan 4Pushed 3mo agoCompare

[ Source](https://github.com/Chris-tech15/validator)[ Packagist](https://packagist.org/packages/sielatchom/validator)[ RSS](/packages/sielatchom-validator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Sielatchom\\Validator
=====================

[](#sielatchomvalidator)

[![PHP Version](https://camo.githubusercontent.com/187240af044d09d5b14a1d9d9ebdf3f7a993e4c7bc09bdb46b4ba661a891bf5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d626c7565)](https://camo.githubusercontent.com/187240af044d09d5b14a1d9d9ebdf3f7a993e4c7bc09bdb46b4ba661a891bf5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d626c7565)[![License](https://camo.githubusercontent.com/5caa455d8debc46fb23abbadb45a733a937f3910a73fc875c2f7820468e1bb54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e)](https://camo.githubusercontent.com/5caa455d8debc46fb23abbadb45a733a937f3910a73fc875c2f7820468e1bb54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e)[![Packagist Version](https://camo.githubusercontent.com/64a28d103ed8754b99e0e8875838e8f9cb36d87c1d215cfe8a00a68dd8b11c7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7369656c617463686f6d2f76616c696461746f72)](https://camo.githubusercontent.com/64a28d103ed8754b99e0e8875838e8f9cb36d87c1d215cfe8a00a68dd8b11c7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7369656c617463686f6d2f76616c696461746f72)[![Downloads](https://camo.githubusercontent.com/684f25441c13e10f08ffd4dbb8a44f5fbf5748ee07f23cd96cb9d1133aaee265/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7369656c617463686f6d2f76616c696461746f72)](https://camo.githubusercontent.com/684f25441c13e10f08ffd4dbb8a44f5fbf5748ee07f23cd96cb9d1133aaee265/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7369656c617463686f6d2f76616c696461746f72)

**A simple, extensible, and developer-friendly PHP validation library**
Validate forms and data easily with Laravel-style rules. Supports strings, numbers, dates, emails, passwords, phone numbers, URLs, JSON, and more.

Installation
------------

[](#installation)

Install via Composer:

```
composer require sielatchom/validator
```

Description
-----------

[](#description)

`Sielatchom\Validator` provides a **simple API to validate PHP arrays**, allowing developers to check multiple fields and rules with a **single call**.
It is **PSR-4 compliant**, **unit-tested**, and **extensible**

Usage
-----

[](#usage)

### Basic Examples

[](#basic-examples)

```
