PHPackages                             giovannialo/data-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. giovannialo/data-validation

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

giovannialo/data-validation
===========================

1.0.2(2y ago)07MITPHPPHP &gt;=8.0

Since Sep 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/giovannialo/data-validation)[ Packagist](https://packagist.org/packages/giovannialo/data-validation)[ RSS](/packages/giovannialo-data-validation/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Data Validation
===============

[](#data-validation)

[![Maintainer](https://camo.githubusercontent.com/e199c4318fe9d44e75a72acc5561fe15643adf48268a64d684d76ccaa8947e9b/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d4067696f76616e6e69616c6f2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/giovannialo)[![Source Code](https://camo.githubusercontent.com/1620df8b5cc80dc8cb30b72b8ec6ce720dba0c6fecc381680fc2084a25b74c3c/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d67696f76616e6e69616c6f2f6461746176616c69646174696f6e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/giovannialo/data-validation)[![PHP from Packagist](https://camo.githubusercontent.com/dade8658bcea57f868eac08083be512ce535c1ca3d1806abc459bb053b41a361/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f67696f76616e6e69616c6f2f646174612d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/giovannialo/data-validation)[![Latest Version](https://camo.githubusercontent.com/1a351f5fb60452620074d65fa7099f830dd24e9b7dbbb8d27635b9a365f17d0d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f67696f76616e6e69616c6f2f646174612d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/giovannialo/data-validation/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/b049d5c411c676ed70e735352cba6e9a8a71b3447e9b68a33a5bc7e0d28de6e3/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f67696f76616e6e69616c6f2f646174612d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/giovannialo/data-validation)[![Quality Score](https://camo.githubusercontent.com/0f07aad4d432b330a85549dde57fefedb3ce45d175998d6d5efee2be1c7a9cf7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f67696f76616e6e69616c6f2f646174612d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/giovannialo/data-validation)[![Total Downloads](https://camo.githubusercontent.com/cfdc01f7a512dc59034887c7cedfed0feb6f7dca82c1ff7165d0070bc9557167/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67696f76616e6e69616c6f2f646174612d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/giovannialo/data-validation)

O Data Validation é um componente para validar os dados enviados por formulários, com uma estrutura semelhante ao processo de validação do Laravel.

Atualmente, é possível utilizar o Data Validation sozinho ou com os componentes de roteamento e camada de dados da CoffeeCode, sendo eles, respectivamente: CoffeeCode/Router e CoffeeCode/DataLayer.

### Destaques

[](#destaques)

- Fácil de utilizar
- Pronto para o composer
- Compatível com PSR-12

Instalação
----------

[](#instalação)

Data Validation está disponível via Composer:

```
"giovannialo/data-validation": "1.0.*"
```

ou execute

```
composer require giovannialo/data-validation
```

Documentação
------------

[](#documentação)

Para mais detalhes sobre como usar o Data Validation, veja a pasta de exemplo com detalhes no diretório do componente.

Em desenvolvimento...

Contribuindo
------------

[](#contribuindo)

Por favor, veja [CONTRIBUINDO](https://github.com/giovannialo/data-validation/blob/master/CONTRIBUTING.md) para detalhes.

Suporte
-------

[](#suporte)

Se você descobrir algum problema relacionado à segurança, envie um e-mail para  em vez de usar o rastreador de problemas.

TmJ!

Créditos
--------

[](#créditos)

- [Giovanni A. L. Oliveira](https://github.com/giovannialo) (Developer)

Licença
-------

[](#licença)

A Licença (MIT). Por favor, veja [Arquivo de Licença](https://github.com/giovannialo/data-validation/blob/master/LICENSE) para mais informações.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

982d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b8254126e102907326e5dc9a29b4ffe26fceb76cdece5d7abbd094b0ed77f4a3?d=identicon)[giovannialo](/maintainers/giovannialo)

---

Top Contributors

[![giovannialo](https://avatars.githubusercontent.com/u/55967485?v=4)](https://github.com/giovannialo "giovannialo (10 commits)")

### Embed Badge

![Health badge](/badges/giovannialo-data-validation/health.svg)

```
[![Health](https://phpackages.com/badges/giovannialo-data-validation/health.svg)](https://phpackages.com/packages/giovannialo-data-validation)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[nette/forms

📝 Nette Forms: generating, validating and processing secure forms in PHP. Handy API, fully customizable, server &amp; client side validation and mature design.

54013.2M448](/packages/nette-forms)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
