PHPackages                             paultejedaf/rut-chile - 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. paultejedaf/rut-chile

ActiveLibrary

paultejedaf/rut-chile
=====================

Calcula el digito verificador de RUT Chile

01PHP

Since Mar 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/paultejedaf/rut-chile)[ Packagist](https://packagist.org/packages/paultejedaf/rut-chile)[ RSS](/packages/paultejedaf-rut-chile/feed)WikiDiscussions principal Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Rut Chile
=========

[](#rut-chile)

Calcula el digito verificador de RUT Chile

Uso
---

[](#uso)

Calcular digito verificador

```
	$digito = Rut.calcular_digito( 12458785 );
	echo $digito; // 9

```

Comprobar RUT y digito

```
	$rut_valido = Rut.es_valido( 12458785, 7);
	echo $rut_valido; // FALSE

	$rut_valido = Rut.es_valido( 12458785, 9);
	echo $rut_valido; // TRUE

```

Crear un RUT aleatoriamente

```
	// RUT Persona
	$rut_nuevo = Rut.crear_aleatorio();

```

```
	// RUT Empresa
	$rut_nuevo = Rut.crear_aleatorio( 1000000, 100000000 );
	echo $rut_nuevo;  // 86479658-8

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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/9518e46c46bba1842963ba3fb4499cecb3f888f74aacfc6e18c50e86872b99cc?d=identicon)[Paul Tejeda](/maintainers/Paul%20Tejeda)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/paultejedaf-rut-chile/health.svg)

```
[![Health](https://phpackages.com/badges/paultejedaf-rut-chile/health.svg)](https://phpackages.com/packages/paultejedaf-rut-chile)
```

PHPackages © 2026

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