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

ActiveLibrary[API Development](/categories/api)

beepsolutions/beep-php
======================

PHP Bindings for the Beep API

v2.0.3(6y ago)02.6kMITPHPPHP &gt;= 7.0

Since Apr 8Pushed 6y agoCompare

[ Source](https://github.com/BeepSolutions/beep-php)[ Packagist](https://packagist.org/packages/beepsolutions/beep-php)[ RSS](/packages/beepsolutions-beep-php/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (3)Dependencies (5)Versions (7)Used By (0)

BeepPHP
=======

[](#beepphp)

> PHP API Client and bindings for the [Beep Solutions API](https://github.com/BeepSolutions/Beep-Solutions)

Using this PHP API Client you can interact with your Beep Solutions:

- 💳 **Transactions**

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

[](#installation)

Requires PHP 7.0 or higher

The recommended way to install Beep-php is through [Composer](https://getcomposer.org):

First, install Composer:

```
$ curl -sS https://getcomposer.org/installer | php

```

Next, install the latest Beep-php:

```
$ php composer.phar require beepsolutions/beep-php

```

Finally, you need to require the library in your PHP application:

```
require "vendor/autoload.php";
```

Development
-----------

[](#development)

- Run `composer test` and `composer phpcs` before creating a PR to detect any obvious issues.
- Please create issues for this specific API Binding under the [issues](https://github.com/BeepSolutions/beep-php/issues) section.
- [Contact Beep Solutions](https://beep.solutions) directly for Beep Solutions API support.

Quick Start
-----------

[](#quick-start)

### BeepPHP\\Client

[](#beepphpclient)

First get your `production` or `sandbox` API key from your [Merchant Portal](https://dashboard.beep.solutions).

If you want to get a `production` client:

```
use BeepPHP\Client;

$client = new Client('apikey', 'appid');
```

If you want to get a `sandbox` client:

```
use BeepPHP\Client;

$client = new Client('apikey', 'appid', 'sandbox');
```

If you want to pass additional [GuzzleHTTP](https://github.com/guzzle/guzzle) options:

```
use BeepPHP\Client;

$options = ['headers' => ['foo' => 'bar']];
$client = new Client('apikey', 'appid', 'sandbox', $options);
```

Available API Operations
------------------------

[](#available-api-operations)

The following exposed API operations from the Beep Solutions API are available using the API Client.

See below for more details about each resource.

💳 **Transactions**

Create a new transaction with or without a specific payment method.

Usage details
-------------

[](#usage-details)

### 💳 Transactions

[](#-transactions)

#### Create transaction with a specific payment method

[](#create-transaction-with-a-specific-payment-method)

```
use BeepPHP\Client;

$client = new Client('apikey', 'appid');

$json = [
 "provider" => "alipay", // Payment method enabled for your merchant account such as bcmc, alipay, card
 "currency" => "GBP",
 "amount" => 1000, // 10.00 GBP
 "redirectUrl" => "https://foo.bar/order/123" // Optional redirect after payment completion
];

$transaction = $client->transactions->create($json);
header('Location: '. $transaction["url"]); // Go to transaction payment page for e-commerce or use the qrcode to display on external screens
```

#### Create transaction without a payment method that will redirect to the payment method selection screen

[](#create-transaction-without-a-payment-method-that-will-redirect-to-the-payment-method-selection-screen)

This method is only available for e-commerce enabled transactions

```
use BeepPHP\Client;

$client = new Client('apikey', 'appid');

$json = [
 "currency" => "SGD",
 "amount" => 1000, // 10.00 SGD
 "redirectUrl" => "https://foo.bar/order/987" // Optional redirect after payment completion
];

$transaction = $client->transactions->create($json);
header('Location: '. $transaction["url"]); // Go to payment method selection screen
```

#### Get a list of transactions

[](#get-a-list-of-transactions)

This method is only available for e-commerce enabled transactions

```
use BeepPHP\Client;

$client = new Client('apikey', 'appid');

$transactions = $client->transactions->list(['page' => 2]); // get the second page of transactions
```

#### Get a single transaction

[](#get-a-single-transaction)

This method is only available for e-commerce enabled transactions

```
use BeepPHP\Client;

$client = new Client('apikey', 'appid');

$transactions = $client->transactions->get('12356'); // get the transaction with id 123456
```

About
-----

[](#about)

⭐ Sign up as a merchant at  and start receiving payments in seconds.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

2264d ago

Major Versions

v1.0.0 → v2.0.02019-02-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/f53e48a6e225212e5b18b31319d1dc2086dc0b41b57fa147327cfec6ac606a19?d=identicon)[simon@appfleet.uk](/maintainers/simon@appfleet.uk)

---

Top Contributors

[![sverraest](https://avatars.githubusercontent.com/u/7394603?v=4)](https://github.com/sverraest "sverraest (28 commits)")

---

Tags

phpapipayalipaybeepbeep solutionsbrunei

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/beepsolutions-beep-php/health.svg)](https://phpackages.com/packages/beepsolutions-beep-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

23414.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.

564.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)
