PHPackages                             stenfrank/soap-dian - 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. stenfrank/soap-dian

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

stenfrank/soap-dian
===================

Web Service consumption of the DIAN SOAP UBL 2.1

1.1(6y ago)428311[3 issues](https://github.com/Stenfrank/soap-dian/issues)[1 PRs](https://github.com/Stenfrank/soap-dian/pulls)LGPL-3.0PHPPHP ^7.2CI failing

Since Jun 13Pushed 4mo agoCompare

[ Source](https://github.com/Stenfrank/soap-dian)[ Packagist](https://packagist.org/packages/stenfrank/soap-dian)[ Docs](https://soenac.com)[ RSS](/packages/stenfrank-soap-dian/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

soap-dian
=========

[](#soap-dian)

Web Service consumption of the DIAN SOAP UBL 2.1.

The author of soap-dian is Frank Aguirre.

Branches
========

[](#branches)

Master is currently the only actively maintained branch.

- 0.1: Contains valid tests with Binary Security Token, for the DIAN.
- 0.2: Fixed timestamp error, CARBON is no longer a dependency.

Requirements
============

[](#requirements)

OpenSSL and PHP version &gt;= 7.0

How to Install
--------------

[](#how-to-install)

Install with [`composer.phar`](http://getcomposer.org).

```
composer require stenfrank/soap-dian
```

Basic usage
-----------

[](#basic-usage)

```
$pathCertificate = 'PATH_CERTIFICATE.p12';
$passwors = 'PASSWORS_CERTIFICATE';

$xmlString = startNodes($domDocument->saveXML());

file_put_contents('./SOAPDIAN21.xml', $soapdian21->soap);
```

Authors ✒️
----------

[](#authors-️)

- **Frank Aguirre** - *Maintainer* - [Stenfrank](https://github.com/Stenfrank/)

Donation
--------

[](#donation)

If this library help you reduce time to develop, you can give me a cup of coffee 😃.

[![paypal](https://camo.githubusercontent.com/e1ff554a09e8e92bef25abc553ff05b88f45afd695877cf12f3a46558ef65b2e/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.me/stenfrank/1?locale.x=es_XC)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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

Every ~19 days

Total

2

Last Release

2548d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15841698?v=4)[Frank Aguirre](/maintainers/Stenfrank)[@Stenfrank](https://github.com/Stenfrank)

---

Top Contributors

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

---

Tags

xmlweb serviceubldiansoap dian

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stenfrank-soap-dian/health.svg)

```
[![Health](https://phpackages.com/badges/stenfrank-soap-dian/health.svg)](https://phpackages.com/packages/stenfrank-soap-dian)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k260.4M292](/packages/masterminds-html5)[jms/serializer

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

2.3k139.8M905](/packages/jms-serializer)[jms/metadata

Class/method/property metadata management in PHP

1.8k157.6M95](/packages/jms-metadata)[jms/serializer-bundle

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

1.8k91.4M664](/packages/jms-serializer-bundle)[sabre/xml

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

52933.7M139](/packages/sabre-xml)[goetas-webservices/xsd2php-runtime

Convert XSD (XML Schema) definitions into PHP classes

4912.0M43](/packages/goetas-webservices-xsd2php-runtime)

PHPackages © 2026

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