PHPackages                             dcorreah/ubl21dian - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. dcorreah/ubl21dian

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

dcorreah/ubl21dian
==================

Core for electronic invoicing pre-validation - DIAN UBL 2.1

v3.1.1(2y ago)3242↓100%3LGPL-3.0PHPPHP &gt;= 8.0

Since Aug 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Ryunosukee/ubl21dian)[ Packagist](https://packagist.org/packages/dcorreah/ubl21dian)[ Docs](https://github.com/Ryunosukee)[ RSS](/packages/dcorreah-ubl21dian/feed)WikiDiscussions v3 Synced today

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

UBL2.1 DIAN
===========

[](#ubl21-dian)

Nucleo de pre-validación de facturación electronica - Colombia

- 1: Contiene pruebas válidas con el token de seguridad binario (SOAP) y la firma XAdES (XML) con los algoritmos sha1, sha256 y sha512.
- 2: Contiene las plantillas principales para el consumo del servicio web, requiere curl como una dependencia.
- 3: Se soluciona el error de canonización.
- 4: Contiene pruebas válidas para el envío de notas de crédito y el cálculo del CUDE.
- 5: Licencia LGPL.
- 6: Contiene pruebas válidas para el envío de notas de débito y el nombre del documento estándar.

Características
---------------

[](#características)

- Firma de documentos
- Envío asíncrono
- Consulta de estado por ZIPKey
- Consulta de estado por CUFE
- Consulta de rangos de numeración
- Envió de set de pruebas asíncrono
- Consulta de eventos

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

[](#instalación)

Requisitos mínimos

```
php: >= 8.0
ext-dom
ext-xml
ext-curl
ext-libxml
ext-openssl
ext-xmlwriter
ext-json
```

Instalación con composer

```
composer require dcorreah/ubl21dian
```

Licencia
--------

[](#licencia)

[MIT](https://choosealicense.com/licenses/mit/)

Autores
-------

[](#autores)

- [@TorreSoftware](https://github.com/TorreSoftware) (Agradecimientos por el proyecto inicial)
- [@Ryunosukee](https://github.com/Ryunosukee)

Soporte
-------

[](#soporte)

Si necesitas soporte, puedes escribirme al correo electrónico

###  Health Score

28

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65.4% 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 ~144 days

Total

3

Last Release

866d ago

Major Versions

v2.x-dev → v3.1.12023-11-08

PHP version history (2 changes)v2.x-devPHP &gt;= 7.4

v3.1.1PHP &gt;= 8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d58a7c860e99693983bc611917d48d74c48b6b3158e7aa34b950af7980b63678?d=identicon)[strike970124](/maintainers/strike970124)

---

Top Contributors

[![TorreSoftware](https://avatars.githubusercontent.com/u/57762446?v=4)](https://github.com/TorreSoftware "TorreSoftware (34 commits)")[![Ryunosukee](https://avatars.githubusercontent.com/u/54317215?v=4)](https://github.com/Ryunosukee "Ryunosukee (10 commits)")[![cr1sti4n](https://avatars.githubusercontent.com/u/11901613?v=4)](https://github.com/cr1sti4n "cr1sti4n (8 commits)")

---

Tags

xmlweb servicecoreubldianv3.0soap dian

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dcorreah-ubl21dian/health.svg)

```
[![Health](https://phpackages.com/badges/dcorreah-ubl21dian/health.svg)](https://phpackages.com/packages/dcorreah-ubl21dian)
```

###  Alternatives

[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k133.8M798](/packages/jms-serializer)[masterminds/html5

An HTML5 parser and serializer.

1.8k234.7M193](/packages/masterminds-html5)[jms/metadata

Class/method/property metadata management in PHP

1.8k150.5M85](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k88.3M588](/packages/jms-serializer-bundle)[sabre/xml

sabre/xml is an XML library that you may not hate.

52831.5M123](/packages/sabre-xml)[goetas-webservices/xsd2php-runtime

Convert XSD (XML Schema) definitions into PHP classes

4910.3M30](/packages/goetas-webservices-xsd2php-runtime)

PHPackages © 2026

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