PHPackages                             bongloy/bongloy-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. bongloy/bongloy-php

ActiveLibrary[API Development](/categories/api)

bongloy/bongloy-php
===================

Bongloy PHP Library

v1.0.3(5y ago)059MITPHPPHP &gt;=5.6.0CI failing

Since Mar 4Pushed 5y ago4 watchersCompare

[ Source](https://github.com/bongloy-community/bongloy-php)[ Packagist](https://packagist.org/packages/bongloy/bongloy-php)[ Docs](https://bongloy.com/)[ RSS](/packages/bongloy-bongloy-php/feed)WikiDiscussions master Synced today

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

Bongloy PHP bindings
====================

[](#bongloy-php-bindings)

[![Build Bongloy PHP](https://github.com/khomsovon/bongloy-php/workflows/Build%20Bongloy%20PHP/badge.svg)](https://github.com/khomsovon/bongloy-php/workflows/Build%20Bongloy%20PHP/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/bd30a22acc114671cf6493dccf53c6c22e7ec621f73998a650b562cb89f9c28e/68747470733a2f2f706f7365722e707567782e6f72672f626f6e676c6f792f626f6e676c6f792d7068702f646f776e6c6f6164732e737667)](https://packagist.org/packages/bongloy/bongloy-php)[![License](https://camo.githubusercontent.com/6d0fe091391db06d90e43b994c3cad7d6273ab01cfe3d0bc293dfde963c2133f/68747470733a2f2f706f7365722e707567782e6f72672f626f6e676c6f792f626f6e676c6f792d7068702f6c6963656e73652e737667)](https://packagist.org/packages/bongloy/bongloy-php)

The Bongloy PHP library provides convenient access to the Bongloy API from applications written in the PHP language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses which makes it compatible with a wide range of versions of the Bongloy API.

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

[](#requirements)

PHP 5.6.0 and later.

Composer
--------

[](#composer)

You can install the bindings via [Composer](http://getcomposer.org/). Run the following command:

```
composer require bongloy/bongloy-php
```

To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):

```
require_once('vendor/autoload.php');
```

Getting Started
---------------

[](#getting-started)

Simple usage looks like:

```
\Bongloy\Bongloy::setApiKey('sk_test_*****');
$charge = \Bongloy\Charge::create([
    'amount' => 1000,
    'currency' => 'USD',
    'source' => '6b1ca112-add7-4bc6-b520-829e004c0580',
]);
echo $charge;
```

Documentation
-------------

[](#documentation)

For a comprehensive list of examples, check out the [API documentation](https://sandbox.bongloy.com/documentation).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.9% 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 ~85 days

Total

4

Last Release

2002d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09f2cfb2cd7bda2456dc361cad5c25cfbe0567c4e2f9c56a2a00a87e44ad8280?d=identicon)[sovonkhom](/maintainers/sovonkhom)

---

Top Contributors

[![ksovon](https://avatars.githubusercontent.com/u/66460171?v=4)](https://github.com/ksovon "ksovon (9 commits)")[![phannaly](https://avatars.githubusercontent.com/u/13119017?v=4)](https://github.com/phannaly "phannaly (7 commits)")[![khomsovon](https://avatars.githubusercontent.com/u/22230383?v=4)](https://github.com/khomsovon "khomsovon (1 commits)")

---

Tags

bongloyphpapipayment processingbongloy

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

13998.4k2](/packages/jstolpe-instagram-graph-api-php-sdk)

PHPackages © 2026

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