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

ActiveLibrary[Payment Processing](/categories/payments)

andrefelipe18/abacatepay-php
============================

AbacatePay PHP SDK

1.0.0(1y ago)37PHPPHP ^8.1

Since Feb 7Pushed 1y ago1 watchersCompare

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

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

AbacatePay
==========

[](#abacatepay)

AbacatePay is a PHP library for integrating with the AbacatePay payment gateway.

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

[](#installation)

Install the library using Composer:

```
composer require andrefelipe18/abacatepay-php
```

Usage
=====

[](#usage)

Initialize the Library
----------------------

[](#initialize-the-library)

First, you need to initialize the AbacatePay class with your API token:

```
require __DIR__ . '/../vendor/autoload.php';

use Andrefelipe18\AbacatePay\AbacatePay;

$abacatePay = new AbacatePay('your_api_token');
```

Create a Customer
-----------------

[](#create-a-customer)

You can create a new customer using the `create` method:

```
$customer = $abacatePay->customer()->create(
    new \Andrefelipe18\AbacatePay\Models\Customer(
        'customer@example.com',
        'Customer Name',
        '+1234567890',
        '123456789'
    )
);
```

List Customers
--------------

[](#list-customers)

You can list all customers using the `list` method:

```
$customers = $abacatePay->customer()->list();
```

Create a Billing
----------------

[](#create-a-billing)

To create a new billing, use the `create` method:

```
$billing = $abacatePay->billing()->create(
    'ONE_TIME',
    ['PIX'],
    [
        new \Andrefelipe18\AbacatePay\Models\Product(
            'product_1',
            'Product 1',
            'Product 1 description',
            1,
            1000
        ),
        new \Andrefelipe18\AbacatePay\Models\Product(
            'product_2',
            'Product 2',
            'Product 2 description',
            1,
            2000
        ),
    ],
    'https://example.com/return',
    'https://example.com/completion',
    $customer->data->metadata,
);
```

List Billings
-------------

[](#list-billings)

You can list all billings using the `list` method:

```
$billings = $abacatePay->billing()->list();
```

License
=======

[](#license)

Licensed under the [MIT license](https://opensource.org/licenses/MIT).

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

[](#contributing)

Contributions are welcome! Please open an issue or submit a pull request.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance42

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

466d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79f7d53b4eb8f6678d6738e1a61b868fdc8d6638383b4fff25bf0e42b062fae0?d=identicon)[André Domingues](/maintainers/Andr%C3%A9%20Domingues)

---

Top Contributors

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

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/andrefelipe18-abacatepay-php/health.svg)

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

###  Alternatives

[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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