PHPackages                             genioforge/pulseflow\_consumer - 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. genioforge/pulseflow\_consumer

ActiveLibrary[API Development](/categories/api)

genioforge/pulseflow\_consumer
==============================

Wrapper for PulseFlow v1 API

01PHP

Since Jan 23Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/omartins365/pulseflow_consumer)[ Packagist](https://packagist.org/packages/genioforge/pulseflow_consumer)[ RSS](/packages/genioforge-pulseflow-consumer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PulseFlow Consumer SDK
======================

[](#pulseflow-consumer-sdk)

This is an unofficial SDK for the PulseFlow v1 API. It provides a convenient wrapper for interacting with the PulseFlow API.

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

[](#installation)

To install the SDK, use Composer:

```
composer require genioforge/pulseflow_consumer dev-main
```

Configuration
-------------

[](#configuration)

Add the following configuration to your Laravel application's `config/services.php` file:

```
return [
    'pulse' => [
        'key' => env('PULSE_API_KEY'),
        'domain' => env('PULSE_VENDOR_DOMAIN'),
        'pin' => env('PULSE_API_PIN'),
        'secret_key' => env('PULSE_SECRET_KEY'),
    ],
];
```

Usage
-----

[](#usage)

### Service Provider

[](#service-provider)

Register the service provider in your `config/app.php` file:

```
'providers' => [
    // Other Service Providers

    GenioForge\Consumer\ConsumerServiceProvider::class,
],
```

### Facade

[](#facade)

Add the facade to your `config/app.php` file:

```
'aliases' => [
    // Other Facades

    'Consumer' => GenioForge\Consumer\ConsumerFacade::class,
],
```

Example
-------

[](#example)

Here is an example of how to use the SDK:

```
use GenioForge\Consumer\Repository\RepositoryProvider;

$consumer = RepositoryProvider::getProvider();

// Ensure the provider is initialized
$consumer->ensure_initialised();

// Buy airtime
$reference = 'unique_reference';
$planId = 1;
$networkId = 1;
$phoneNumber = '08012345678';
$amount = 1000;
$airtimePurchaseResponse = $consumer->buy_airtime($reference, $planId, $networkId, $phoneNumber, $amount);
echo $airtimePurchaseResponse->message;
```

Testing
-------

[](#testing)

To run the tests, use PHPUnit:

```
phpunit
```

License
-------

[](#license)

This SDK is licensed under the MIT License. See the LICENSE file for more information.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/22246a58abd7f6f219d9bce196300b2b4390fd28478014edaccc62f13f734ad0?d=identicon)[omartins365](/maintainers/omartins365)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/genioforge-pulseflow-consumer/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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