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

ActiveLibrary[API Development](/categories/api)

capiflex/php-sagecloud
======================

PHP package for easy integration of Sagecloud's api

3382PHP

Since Oct 7Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

PHP SAGECLOUD
=============

[](#php-sagecloud)

- [Documentation](#introduction)
- [Usage](#usage)
- [Support](#support)

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

[](#installation)

```
composer require capiflex/php-sagecloud
```

Usage
-----

[](#usage)

```
// Import the class namespaces first, before using it directly
use Capiflex\SageCloud\API\SageCloud as SageCloudClient;

$sageCloud = new SageCloudClient($email, $password, $secretKey);

//The email and password are your login credentials.
```

TRANSFERS
=========

[](#transfers)

### Fetch Banks

[](#fetch-banks)

```
  $sageCloud->fetchBanks();
```

### Verify Bank Details

[](#verify-bank-details)

```
  $sageCloud->verifyBankDetails([
       'bank_code' => '011',
       'account_number' => '3123755866']);
```

### Transfer Funds

[](#transfer-funds)

```
 $sageCloud->transferFunds([
        'reference' => 'testing_package',
        'bank_code' => '011',
        'account_number' => '3123755866',
        'account_name' => 'Olarewaju Mojeed',
        'narration' => 'Testing Sagecloud PHP Package',
        'amount' => '100'
    ]);
```

AIRTIME
=======

[](#airtime)

```
    $sageCloud->purchaseAirtime([
        'reference' => 'test_package_2',
        'network' => 'AIRTEL',
        'service' => 'AIRTELVTU',
        'phone' => '09010768387',
        'amount' => '100'
    ]);
```

EPINS
=====

[](#epins)

```
   $sageCloud->purchaseEpin([
        'reference' => 'test_package_3',
        'network' => 'AIRTEL',
        'service' => 'AIRTELVTU',
        'value' => '100',
        'quantity' => '1'
    ]);
```

DATA
====

[](#data)

### Fetch Data Bundles

[](#fetch-data-bundles)

```
    $sageCloud->fetchDataBundles('MTNDATA');
```

### Fetch Data Providers

[](#fetch-data-providers)

```
    $sageCloud->fetchDataProviders();
```

### Purchase Data

[](#purchase-data)

```
    $sageCloud->purchaseData([
        'reference' => 'test_package_32',
        'type' => 'AIRTELDATA',
        'network' => 'AIRTEL',
        'phone' => '09010768387',
        'code' => '002'
    ]);
```

POWER
=====

[](#power)

### Fetch Electricity Billers

[](#fetch-electricity-billers)

```
    $sageCloud->fetchElectricityBillers();
```

### Validate Meter

[](#validate-meter)

```
 $sageCloud->validateMeter([
        'type' => 'ikeja_electric_prepaid',
        'account_number' => '04277210086'
    ]);
```

### Purchase Power

[](#purchase-power)

```
    $sageCloud->purchasePower([
        'reference' => 'test_package_90',
        'type' => 'ikeja_electric_prepaid',
        'disco' => 'IKEDC',
        'account_number' => '04277210086',
        'phone' => '09010768387',
        'amount' => '500'
    ]);
```

CABLE TV
========

[](#cable-tv)

### Fetch Cable Tv Providers

[](#fetch-cable-tv-providers)

```
    $sageCloud->fetchCableTvProviders();
```

### Fetch Cable TV Billers

[](#fetch-cable-tv-billers)

```
    $sageCloud->fetchCableTVByBiller('gotv');
```

### Purchase Cable TV

[](#purchase-cable-tv)

```
    $sageCloud->purchaseCableTv([
        'reference' => 'test_package_987',
        'code' => 'novaday',
        'smartCardNo' => '02146372183',
        'type' => 'startimes',
        'renewal' => false
    ]);
```

WAEC
====

[](#waec)

### WAEC Lookup

[](#waec-lookup)

```
    $sageCloud->handleWAECLookup();
```

### WAEC Purchase

[](#waec-purchase)

```
    $sageCloud->handleWAECPinPurchase([
        'amount' => '1800',
        'reference' => 'test_package_9870',
        'numberOfPin' => 1
    ]);
```

JAMB
====

[](#jamb)

### JAMB Lookup

[](#jamb-lookup)

```
    $sageCloud->handleJAMBLookup();
```

### Profile Validation

[](#profile-validation)

```
    $sageCloud->handleJAMBProfileValidation([
        'type' => 'DE',
        'profileCode' => '1234456667'
    ]);
```

### Pin Purchase

[](#pin-purchase)

```
    $sageCloud->handleJAMBPinPurchase([
        'amount' => '4000',
        'type' => 'DE',
        'profileCode' => '1234456667'
    ]);
```

SME DATA
========

[](#sme-data)

### Lookup

[](#lookup)

```
    $sageCloud->handleSMEDataLookup();
```

### Purchase

[](#purchase)

```
    $sageCloud->handleSMEDataPurchase([
        'service' => 'sme_data_500mb',
        'phone' => '0812346373',
        'reference' => 'test_package_71826'
    ]);
```

CORPORATE DATA
==============

[](#corporate-data)

### Lookup

[](#lookup-1)

```
    $sageCloud->handleCorporateDataLookup();
```

### Purchase

[](#purchase-1)

```
    $sageCloud->handleCorporateDataPurchase([
        'service' => 'corporate_data_500mb',
        'phone' => '08152512121',
        'reference' => 'test_package_71820'
    ]);
```

BETTING
=======

[](#betting)

### Billers

[](#billers)

```
    $sageCloud->fetchBettingBillers();
```

### Validate Betting

[](#validate-betting)

```
$sageCloud->validateBetting([
        'type' => 'BetKing',
        'customerId' => '7352353'
    ]);
```

### Purchase

[](#purchase-2)

```
    $sageCloud->fundBetting([
        'reference' => 'testing_package1',
        'type' => 'BetKing',
        'customerId' => '7352353',
        'name' => 'Test BetKing Account',
        'amount' => '100'
    ]);
```

VIRTUAL ACCOUNT
===============

[](#virtual-account)

### Generate Virtual Account

[](#generate-virtual-account)

```
    $sageCloud->generateVirtualAccount([
    'email' => 'olarewajumojeed@example.com',
    'account_name' => 'Olarewaju Mojeed'
]);
```

### Delete Virtual Account

[](#delete-virtual-account)

```
$sageCloud->deleteVirtualAccount($accountNumber)
```

### Update Virtual Account

[](#update-virtual-account)

```
    $sageCloud->updateVirtualAccount($accountNumber)
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity24

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/5ea5743e2319887e9d2414cb64e8e7f66e67151de7ee1c641327f7144c32bb4c?d=identicon)[Lowkey1729](/maintainers/Lowkey1729)

---

Top Contributors

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

### Embed Badge

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

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

###  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)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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