PHPackages                             instapago/instapago - 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. [Payment Processing](/categories/payments)
4. /
5. instapago/instapago

AbandonedArchivedLibrary[Payment Processing](/categories/payments)

instapago/instapago
===================

Instapago is a technological solution designed for the market of electronic commerce (eCommerce) in Venezuela and Latin America.

2160.6k41PHPCI passing

Since Aug 4Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/abr4xas/php-instapago)[ Packagist](https://packagist.org/packages/instapago/instapago)[ RSS](/packages/instapago-instapago/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (1)

[![](help/hYNsH6B.png)](help/hYNsH6B.png)

 Librería Instapago para PHP

 **NOTA** Los logos son propiedad de Instapago y Banesco, respectivamente.

[![Latest Version on Packagist](https://camo.githubusercontent.com/f0b932d7969340fb64f79a1009a585690b07eeadec7dff30456228df44232ded/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e7374617061676f2f696e7374617061676f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/instapago/instapago)[![GitHub Workflow Status](https://camo.githubusercontent.com/52ed1c9eb42d0ed2f035fb164b8afe6274e491c8ca413638e9382be1f07a2348/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616272347861732f7068702d696e7374617061676f2f72756e2d74657374732d706573742e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/abr4xas/php-instapago/actions?query=workflow%3ATests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/aad6e1f9e9400e8ba4ffc2f69e8733c1ff9dfc44782069ec65dc06c66acdcb17/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e7374617061676f2f696e7374617061676f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/instapago/instapago)

instalación
-----------

[](#instalación)

Primero, [`composer`](https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md)

Luego:

```
$ composer require instapago/instapago
$ composer dumpautoload -o // opcional

```

### Cómo usar

[](#cómo-usar)

> **NOTA**: Esta versión requiere **PHP 8.2 o superior** y utiliza las características más modernas del lenguaje para ofrecer mejor rendimiento, seguridad y mantenibilidad.

#### Uso Básico

[](#uso-básico)

Ver [DOCUMENTACIÓN](./help/DOCUMENTACION.md)

### Arquitectura Refactorizada

[](#arquitectura-refactorizada)

Esta versión ha sido completamente refactorizada siguiendo principios SOLID y patrones de diseño modernos:

#### Características Principales:

[](#características-principales)

- **PHP 8.2+** con readonly classes, named arguments y constructor property promotion
- **Dependency Injection** para mejor testabilidad
- **DTOs** para transferencia de datos tipada
- **Strategy Pattern** para validaciones extensibles
- **Factory Pattern** para creación de clientes HTTP
- **Logging** integrado con interfaces estándar
- **Configuración** externalizada y flexible
- **Manejo de errores** unificado y consistente

#### Nuevos Componentes:

[](#nuevos-componentes)

- `InstapagoConfig`: Configuración centralizada
- `PaymentRequest/Response`: DTOs tipados
- `ValidationStrategy`: Validaciones extensibles
- `HttpClientInterface`: Abstracción del cliente HTTP
- `LoggerInterface`: Logging personalizable

### Tests

[](#tests)

La librería incluye tests comprehensivos usando Pest PHP:

```
# Ejecutar todos los tests
composer test

# Ejecutar tests con coverage
composer test:coverage
```

#### Estadísticas de Tests:

[](#estadísticas-de-tests)

- **40 tests** exitosos
- **128 assertions** cubriendo todas las funcionalidades
- **Cobertura completa** de métodos públicos y casos edge

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Angel Cruz](https://github.com/abr4xas)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance48

Moderate activity, may be stable

Popularity33

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 54.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d947508ce4076ed67ec719eb2c74696e025dab397eabc921d483545fb4c403f?d=identicon)[abr4xas](/maintainers/abr4xas)

---

Top Contributors

[![abr4xas](https://avatars.githubusercontent.com/u/405484?v=4)](https://github.com/abr4xas "abr4xas (63 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (20 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (14 commits)")[![josegomezr](https://avatars.githubusercontent.com/u/5963207?v=4)](https://github.com/josegomezr "josegomezr (13 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (3 commits)")[![JMEspiz](https://avatars.githubusercontent.com/u/9118537?v=4)](https://github.com/JMEspiz "JMEspiz (2 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

---

Tags

banescohacktoberfestinstapagophp-instapagovenezuela

### Embed Badge

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

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

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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