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

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

tleckie/validator
=================

PHP validator (bool, int, float, number, string, email, uri)

1.0.4(5y ago)07MITPHPPHP ^8

Since May 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/teodoroleckie/validator)[ Packagist](https://packagist.org/packages/tleckie/validator)[ Docs](https://github.com/teodoroleckie/validator)[ RSS](/packages/tleckie-validator/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Php validator (bool, int, float, number, string, email, uri)
============================================================

[](#php-validator-bool-int-float-number-string-email-uri)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7aff078491b8f6a14dfaf71e8780feadbb33be1de8887613ec2e228138d59e85/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74656f646f726f6c65636b69652f76616c696461746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/teodoroleckie/validator/?branch=main)[![Code Intelligence Status](https://camo.githubusercontent.com/0a44ada8543e2d2c9c58c844371f5a74ea2c2bd4bc7fd9401b03005aa1a6199d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74656f646f726f6c65636b69652f76616c696461746f722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d61696e)](https://scrutinizer-ci.com/code-intelligence)[![Build Status](https://camo.githubusercontent.com/2afd3e02df387e4424c5f03dc6999a1c71e88688ce9259bba8e71fc4f1798f54/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74656f646f726f6c65636b69652f76616c696461746f722f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/teodoroleckie/validator/build-status/main)

### Installation

[](#installation)

You can install the package via composer:

```
composer require tleckie/validator
```

```
