PHPackages                             simp2/sdk - 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. simp2/sdk

ActiveLibrary

simp2/sdk
=========

SDK para comunicarse con el simp2 desde un conector

v5.0.2(2y ago)11.3kproprietaryPHPPHP ^8.1

Since Apr 21Pushed 1y agoCompare

[ Source](https://github.com/Argon-Consultora/simp2-sdk)[ Packagist](https://packagist.org/packages/simp2/sdk)[ RSS](/packages/simp2-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (34)Used By (0)

SIMP2 SDK
=========

[](#simp2-sdk)

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

[](#instalación)

```
composer require simp2/sdk
```

Use
---

[](#use)

Como los métodos de la sdk son estáticos se puede llamar sin instanciarla desde cualquier archivo.

Por ejemplo:

```
use SIMP2\SDK\SIMP2SDK;

$sdk = new SIMP2SDK();
$sdk->setCompanyTransactionToken($cct);
$debts = $sdk->getDebtsOfClient($client_identifier);
```

Methods
-------

[](#methods)

Cada método se corresponde con un endpoint del SIMP2

### POST /payments/notify

[](#post-paymentsnotify)

```
notifyPayment(string $unique_reference): void
```

### POST /payments/confirm

[](#post-paymentsconfirm)

```
confirmPayment(string $unique_reference): Response
```

### POST /reverse/notify

[](#post-reversenotify)

```
notifyRollbackPayment(string $unique_reference): Response
```

### POST /reverse/confirm

[](#post-reverseconfirm)

```
confirmRollbackPayment(string $unique_reference): Response
```

### POST /integrations/metadata

[](#post-integrationsmetadata)

```
createMetadata(string $key, string|array $value): void
```

### POST /events/info

[](#post-eventsinfo)

```
infoEvent(string $unique_reference, string $observations, ?string $category, TypeDescription $type_description, LogLevel $logLevel, int $overwriteLogLevel = null)
```

### POST /events/error

[](#post-eventserror)

```
errorEvent(string $unique_reference, string $observations, ?string $category, TypeDescription $type_description, LogLevel $logLevel, int $overwriteLogLevel = null)
```

### GET /integrations/metadata/{key}

[](#get-integrationsmetadatakey)

```
getMetadata(string $key): string|array|null
```

### GET /debt/{code}

[](#get-debtcode)

```
getDebtInfo($code): ?Debt
```

### GET /client/{ccf\_client\_id}/debts

[](#get-clientccf_client_iddebts)

```
getDebtsOfClient(string $ccf_client_id): array
```

### GET /debt/unique/{uniqueReference}

[](#get-debtuniqueuniquereference)

```
getSubdebt(string $unique_reference): Debt
```

### GET /debt/barcode/{barcode}

[](#get-debtbarcodebarcode)

```
getSubdebtByBarcode(string $barcode): Debt
```

### Devuelve el cliente al que le pertenece la deuda

[](#devuelve-el-cliente-al-que-le-pertenece-la-deuda)

```
getClientData(array $debts): Client
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 86.8% 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 ~47 days

Recently: every ~0 days

Total

32

Last Release

390d ago

Major Versions

1.2.6 → 2.0.02021-06-15

2.0.1 → 3.0.02021-07-26

3.1.0 → 4.0.02022-05-03

v4.1.2 → v5.0.02023-12-06

PHP version history (2 changes)1.2.0PHP ^8.0

v5.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ea27f0869b6d62c9f8055ef75f0df696d0f283f32362fb7f0ffb2b11df05526?d=identicon)[fjspitz](/maintainers/fjspitz)

![](https://www.gravatar.com/avatar/7eb0be13903f8a384351d367c601c6a27f13800125eda9ffcaeb975e9d47111f?d=identicon)[allen.geier](/maintainers/allen.geier)

---

Top Contributors

[![nmigueles](https://avatars.githubusercontent.com/u/35758739?v=4)](https://github.com/nmigueles "nmigueles (59 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![emanuelchiappetta](https://avatars.githubusercontent.com/u/84806467?v=4)](https://github.com/emanuelchiappetta "emanuelchiappetta (2 commits)")[![fjspitz](https://avatars.githubusercontent.com/u/21323320?v=4)](https://github.com/fjspitz "fjspitz (2 commits)")

---

Tags

sdk-phpsimp2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/simp2-sdk/health.svg)

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

###  Alternatives

[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[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)
