PHPackages                             ricdardox/validador-php5 - 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. ricdardox/validador-php5

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

ricdardox/validador-php5
========================

Permite validar campos o valores los cuales tienen que cumplir ciertas reglas

05PHP

Since Jun 5Pushed 11y ago1 watchersCompare

[ Source](https://github.com/ricdardox/Validador-PHP5)[ Packagist](https://packagist.org/packages/ricdardox/validador-php5)[ RSS](/packages/ricdardox-validador-php5/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Validador-PHP5
==============

[](#validador-php5)

Ejemplo:
========

[](#ejemplo)

namespace Validation;

require '../../vendor/autoload.php';

class Test {

```
public static function init() {
    $rules = [
        'carne' => ['value' => '', 'rules' => ['required', 'numeric']],
        'fechaIngreso' => ['value' => '', 'rules' => ['required', 'date']],
        'rangoSalarial' => ['value' => '', 'rules' => ['required']],
        'tipoAfiliado' => ['value' => '', 'rules' => ['required', 'in:Cotizante,Beneficiario']],
    ];

    $validacion = Validation::make($rules);

    if ($validacion->passes()) {
        echo 'La información cumple con las reglas de validación';
    } else {
        echo 'La información no cumple con las reglas de validación';
        print_r($validacion->messages());
    }
}

```

}

Test::init();

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1faa38f4d51c577730b5c8070ef08cebcff2ad57a8256671574ed4313456814a?d=identicon)[ricdardox](/maintainers/ricdardox)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ricdardox-validador-php5/health.svg)

```
[![Health](https://phpackages.com/badges/ricdardox-validador-php5/health.svg)](https://phpackages.com/packages/ricdardox-validador-php5)
```

###  Alternatives

[ziming/laravel-zxcvbn

Zxcvbn Password validation rule for Laravel

3064.3k](/packages/ziming-laravel-zxcvbn)

PHPackages © 2026

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