PHPackages                             juanjoc333/rfc-facil-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. juanjoc333/rfc-facil-php

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

juanjoc333/rfc-facil-php
========================

Librería para calcular el Registro Federal de Contribuyentes en México (RFC)

v1.4(4y ago)111.0k↓100%11[1 issues](https://github.com/juanjoc333/rfc-facil-php/issues)Apache-2.0PHPPHP &gt;=5.6.4

Since Apr 16Pushed 4y ago2 watchersCompare

[ Source](https://github.com/juanjoc333/rfc-facil-php)[ Packagist](https://packagist.org/packages/juanjoc333/rfc-facil-php)[ RSS](/packages/juanjoc333-rfc-facil-php/feed)WikiDiscussions master Synced today

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

[![](logo.png)](logo.png)

RfcFacil PHP
============

[](#rfcfacil-php)

Librería para calcular el Registro Federal de Contribuyentes en México (RFC) - PHP

Uso
---

[](#uso)

```

    //Persona físicas
    $builder = new RfcBuilder();

    $rfc = $builder->name('Juan José')
        ->firstLastName('Cortés')
        ->secondLastName('Guzmán')
        ->birthday(3, 9, 1984)
        ->build()
        ->toString();

    echo $rfc;

    //Personas morales
    $builder = new RfcBuilder();

    $rfc = $builder->legalName('AUTOS PULLMAN, S.A. DE C.V.')
         ->creationDate(30, 9, 1964)
         ->build()
         ->toString();

    echo $rfc;
```

Download
--------

[](#download)

Con composer

```
    composer require juanjoc333/rfc-facil-php
```

Fuente
------

[](#fuente)

Esta librería se basa en documentación oficial obtenida por medio del IFAI (Instituto Federal de Acceso a la Información). El documento puede ser consultado en el sitio de [INFOMEX](https://www.infomex.org.mx/gobiernofederal/moduloPublico/moduloPublico.action) con el folio `0610100135506`.

Cabe advertir que sólo la Secretaría de Hacienda y Crédito Público, a través del Servicio de Administración Tributaria, es la única instancia que oficialmente asigna las claves de RFC a los contribuyentes que así lo soliciten, a partir de la aplicación de este procedimiento a la base de datos del Padrón de Contribuyentes, con la finalidad de identificar homonimias y evitar la duplicidad de registros.

En otros lenguajes
------------------

[](#en-otros-lenguajes)

- JAVA [josketres/rfc-facil](https://github.com/josketres/rfc-facil)
- Ruby [acrogenesis/rfc\_facil](https://github.com/acrogenesis/rfc_facil)
- NET [migsalazar/RfcFacil](https://github.com/migsalazar/RfcFacil)

Contribuciones
--------------

[](#contribuciones)

- Reporta errores o sugerencias en:

Agradecimientos
---------------

[](#agradecimientos)

RfcFacil PHP es una versión para PHP de la librería [rfc-facil](http://josketres.github.io/rfc-facil/) escrita por [josketres](https://github.com/josketres). Gracias!

Licencia
--------

[](#licencia)

Licensed under the Apache License, Version 2.0.

###  Health Score

32

—

LowBetter than 74% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

1772d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b9379fc241e879f9990d4e5b2d80e798f4170c6c4e9430317fb1402d5d095bf?d=identicon)[juanjoc333](/maintainers/juanjoc333)

---

Top Contributors

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

---

Tags

rfcrfc mexico

### Embed Badge

![Health badge](/badges/juanjoc333-rfc-facil-php/health.svg)

```
[![Health](https://phpackages.com/badges/juanjoc333-rfc-facil-php/health.svg)](https://phpackages.com/packages/juanjoc333-rfc-facil-php)
```

###  Alternatives

[memio/spec-gen

phpspec extension for better code generation

67204.3k24](/packages/memio-spec-gen)[php-sap/saprfc-kralik

PHP/SAP implementation for Gregor Kraliks sapnwrfc module. See https://php-sap.github.io for details.

1018.9k](/packages/php-sap-saprfc-kralik)

PHPackages © 2026

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