PHPackages                             tecactus/reniec-php - 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. tecactus/reniec-php

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

tecactus/reniec-php
===================

RENIEC package for PHP

v2.2(4y ago)118.4k4[1 issues](https://github.com/tecactus/reniec-php/issues)MITPHPPHP &gt;=5.5.0CI failing

Since Sep 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/tecactus/reniec-php)[ Packagist](https://packagist.org/packages/tecactus/reniec-php)[ RSS](/packages/tecactus-reniec-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

RENIEC-PHP
==========

[](#reniec-php)

Instalación
-----------

[](#instalación)

Instalar usando composer:

```
   composer require tecactus/reniec-php
```

O agregar la siguiente línea a tu archivo composer.json:

```
   "require": {
       ...
       "tecactus/reniec-php": "2.*"
       ...
   }
```

Uso
---

[](#uso)

```
  // incluir el autoloader de vendor
  require 'vendor/autoload.php';

  //crea un objeto de la clase DNI
  $reniecDni = new Tecactus\Reniec\DNI('tu-token-de-acceso-personal');

  print_r($reniecDni->get('12345678'));

  // para devolver el resultado como un array pasar 'true' como segundo argumento.
  print_r($reniecDni->get('20131312955', true));

```

Token de Acceso Personal
------------------------

[](#token-de-acceso-personal)

Para crear tokens de acceso personal debes de iniciar sesión en Tecactus:

Si no estas registrado aún, puedes hacerlo en:

Debes de activar tu cuenta si aún no lo has hecho. Luego ver el panel de gestión de Tokens de acceso en:

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~352 days

Recently: every ~380 days

Total

6

Last Release

1778d ago

Major Versions

v1.2 → v2.02018-06-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/8fdef0e996f65b82fd2c344429cd17177695635620eb34908c87dfbccd062fe0?d=identicon)[paulvl](/maintainers/paulvl)

---

Top Contributors

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

---

Tags

phpcaptchavalidatevalidarconsultarDNIreniecconsulta-dniconsulta dni sin codigo captcha

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tecactus-reniec-php/health.svg)

```
[![Health](https://phpackages.com/badges/tecactus-reniec-php/health.svg)](https://phpackages.com/packages/tecactus-reniec-php)
```

###  Alternatives

[jlorente/php-credit-cards

A PHP package to perform operations on debit and credit cards like format, validate brand, number and Luhn algorithm. It validates popular brands like Visa, Mastercard, American Express, etc.

44421.2k1](/packages/jlorente-php-credit-cards)[krowinski/one-click-captcha

Simple captcha that requires from user to only click a cut circle on image with several other circles. You can customize color of circles, background, width and height of image. Its very lightweight require no js just simple form in html and php gd extension.

131.7k](/packages/krowinski-one-click-captcha)

PHPackages © 2026

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