PHPackages                             saulmoralespa/siigo-api-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. [API Development](/categories/api)
4. /
5. saulmoralespa/siigo-api-php

ActiveLibrary[API Development](/categories/api)

saulmoralespa/siigo-api-php
===========================

Siigo API PHP SDK

2.0.1(1y ago)3241MITPHPPHP &gt;=8.1

Since Jun 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/saulmoralespa/siigo-api-php)[ Packagist](https://packagist.org/packages/saulmoralespa/siigo-api-php)[ Docs](https://github.com/saulmoralespa/siigo-api-php)[ RSS](/packages/saulmoralespa-siigo-api-php/feed)WikiDiscussions master Synced 1w ago

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

siigo-api-php
=============

[](#siigo-api-php)

SDK PHP API SIIGO

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1
- Composer
- SIIGO API credentials (username and access key)

Installation
------------

[](#installation)

```
composer require saulmoralespa/siigo-api-php
```

Basic Usage
-----------

[](#basic-usage)

```
include_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
use Saulmoralespa\Siigo\Client;

$username = 'YOUR_USERNAME';
$accessKey = 'YOUR_ACCESS_KEY';
$siigo = new Client($username, $accessKey);

// Get authentication token
$token = $siigo->getAccessToken();

// Set the token in the client
$filePath = __DIR__ . DIRECTORY_SEPARATOR . 'token.json';
$siigo->setTokenFilePath($filePath);
```

Examples
--------

[](#examples)

### Create Invoice

[](#create-invoice)

```
$invoiceData = [
    "document" => [
        "id" => 2372 // Get this ID from getDocumentTypes() method
    ],
    "date" => date('Y-m-d'),
    "customer" => [
        "identification" => "123456789",
        "branch_office" => 0
    ],
    "seller" => 62, // Get this ID from getSellers() method
    "stamp" => [
        "send" => false // Set true to send to DIAN
    ],
    "mail" => [
        "send" => false // Set true to send to customer
    ],
    "observations" => "Invoice observations",
    "items" => [
        [
            "code" => "PROD-001",
            "description" => "Test Product",
            "quantity" => 1,
            "price" => 12000
        ]
    ],
    "payments" => [
        [
            "id" => 542, // Get this ID from getPaymentMethods() method
            "value" => 12000,
            "due_date" => date('Y-m-d')
        ]
    ]
];

$invoice = $siigo->createInvoice($invoiceData);
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance47

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

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

Total

3

Last Release

395d ago

Major Versions

1.0.0 → 2.0.02024-06-03

PHP version history (2 changes)1.0.0PHP &gt;=7.1

2.0.0PHP &gt;=8.1

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

phpsdk-phpsiigosiigo-nubephpapisiigo

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/saulmoralespa-siigo-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/saulmoralespa-siigo-api-php/health.svg)](https://phpackages.com/packages/saulmoralespa-siigo-api-php)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[resend/resend-php

Resend PHP library.

574.7M21](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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