PHPackages                             elratauru/validate-ci - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. elratauru/validate-ci

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

elratauru/validate-ci
=====================

Uruguayan ID Validation for PHP

1.0(7y ago)110MITPHPPHP ^5.5 || ^7.0

Since Aug 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Elratauru/validate-ci)[ Packagist](https://packagist.org/packages/elratauru/validate-ci)[ Docs](https://github.com/Elratauru/validate-ci/)[ RSS](/packages/elratauru-validate-ci/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Validate C.I.
=============

[](#validate-ci)

This library validates Cedulas de Identidad (english: ID Cards) from Uruguay.

Getting Started
---------------

[](#getting-started)

Just install this library and call the class over a variable. It will return if true or false depending on the validation.

### Installing

[](#installing)

Using Composer, run:

```
$ composer require elratauru/validate-ci

```

Manually:

```
Copy the folder validate-ci to your project folder (I recommend using a subfolder for libraries) and require the Validator.php file.

```

### Basic Usage

[](#basic-usage)

```
use ValidateCI\Validator;

//Create a new Validator.
$validator = new Validator();
$validation = $validator->validate('1.234.567-8');

```

You can check the tests/index.php for more information.

Built With
----------

[](#built-with)

- [PHP7](http://www.php.net/) - The Language Used.
- [Composer](https://getcomposer.org/) - Package Manager

Authors
-------

[](#authors)

- **Alfonso Carvallo** - *The answers you seek, lie within*

See also the list of [contributors](https://github.com/elratauru/validate-ci/contributors) who participated in this project.

License
-------

[](#license)

This project is licensed under the MIT License - see the [license.md](license.md) file for details

Acknowledgments
---------------

[](#acknowledgments)

- Wikipedia, has a decent explanation of how the ID Card is validated.
- [Picandocodigo](https://picandocodigo.github.io/ci_js/) for inspiration.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

2826d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

validationciidcedulaUruguay

### Embed Badge

![Health badge](/badges/elratauru-validate-ci/health.svg)

```
[![Health](https://phpackages.com/badges/elratauru-validate-ci/health.svg)](https://phpackages.com/packages/elratauru-validate-ci)
```

###  Alternatives

[saggre/phpdocumentor-markdown

Markdown template for phpDocumentor3

2079.5k30](/packages/saggre-phpdocumentor-markdown)

PHPackages © 2026

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