PHPackages                             fsi\_engine/fsi\_php\_sdk - 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. fsi\_engine/fsi\_php\_sdk

ActiveLibrary[API Development](/categories/api)

fsi\_engine/fsi\_php\_sdk
=========================

This package is an SDK for fsi engine providers endpoints

112PHP

Since Jun 1Pushed 4y ago3 watchersCompare

[ Source](https://github.com/fsi-dev/fsi-php-sdk)[ Packagist](https://packagist.org/packages/fsi_engine/fsi_php_sdk)[ RSS](/packages/fsi-engine-fsi-php-sdk/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

[![enter image description here](https://camo.githubusercontent.com/54a17b168c6d13f60ca1a67e2f681308ecf03f8786e3c045470b48d0ef36e1e8/68747470733a2f2f6673692e6e672f6173736574732f696d672f6d61696e5f6c6f676f2e706e67)](https://camo.githubusercontent.com/54a17b168c6d13f60ca1a67e2f681308ecf03f8786e3c045470b48d0ef36e1e8/68747470733a2f2f6673692e6e672f6173736574732f696d672f6d61696e5f6c6f676f2e706e67)

`PHP SDK`
=========

[](#php-sdk)

### **`Introduction`**

[](#introduction)

This package provides services for integrating provider APIs into your application in written code. The sdk was built for easy access of the providers under FSI to be easily integrated into your development codebase.

### **`API Providers`**

[](#api-providers)

This package has numerous API providers under FSI. You can find the API providers in your FSI sandbox dashboard (`https://fsi.ng/members/apis`) .

### **`Installation`**

[](#installation)

- Clone this repository: `git clone https://github.com/fsi-dev/fsi-php-sdk`
- Install the dependencies: `composer install`
- Confirm by running all tests: `composer test`

Now you're free to use this SDK to your advantage. You can now integrate the `sdk` into your application codebase.

### **`Usage`**

[](#usage)

You can easily use this `sdk` in your php/laravel local project, after cloning:

1. First, add the FSIEngine and the Meta class to your respective controller class:

    `use FsiEngine\SDK\FsiEngine;`
2. You can declare `FsiEngine` class any where in your controller class to initialize FSI Engine SDK but it's advisable to declare in your construct method for easy access across the methods in your controller class:

    ```
     use FsiEngine\SDK\FsiEngine;

     class myCustomClassName {
         public function __construct() {
             // Initialize FSI Engine
             FsiEngine::init($YOUR_SANDBOX_KEY, $DEPLOYMENT_TYPE);
         }
     }

     // init() method takes in two parameters ($YOUR_SANDBOX_KEY,  $DEPLOYMENT_TYPE):

    ```

    `$YOUR_SANDBOX_KEY` : The sandbox application key is located right inside the application sample that you created for your application. You click on the Applications section on the left menu of your dashboard to access all your applications:

    - Applicantions
        - [My Applications](https://fsi.ng/members/my-applications)

    `$DEPLOYMENT_TYPE`: This is a flag that indicates what type of deployment you're trying to use the `sdk` for. FSI Engine provides two types of deployment type:

    - Testing
    - Live

        ```
          use FsiEngine\Constants\Meta;

          Meta::TESTING_DEPLOYMENT_TYPE // This is for testing
          Meta::LIVE_DEPLOYMENT_TYPE // This is for when you want to go live

        ```

    You can use this Meta constants as your parameter value when initializing the FSI Engine SDK.
3. You can now write to any of the available API providers in the `SDK` package and send http requests:

    ```
     $processAirtimeProvider = FsiEngine::AfricasTalkingProvider()->Airtime;
     $response = $processAirtimeProvider->send($formData);

     // send() method takes in 2 parameters (array $MY_FORM_DATA, array $REQUEST_HEADER)

    ```

    `$MY_FORM_DATA` : This is the request body/parameters that would be passed through the http request.
    `$REQUEST_HEADER` : This is a set of data that is passed across to the http request header. This is in form of an `array`.

### **`Example`**

[](#example)

This is example of how you can make calls to any of the providers:

```
    use FsiEngine\Constants\Meta;
    use FsiEngine\SDK\FsiEngine;

    class myCustomClassName{

        public function __construct() {
            //Initialize FSI Engine SDK
            FsiEngine::init(Meta::TESTING_APP_KEY, Meta::TESTING_DEPLOYMENT_TYPE);
        }

        public function myCustomMethod(){
            $formData = [
                "Referenceid"           => '01',
                "RequestType"           => '01',
                "Translocation"         => '01',
                "Bvn"                   => '01139174927',
                "billerid"              => '01'

            ];

            $header = [ // Additional Headers...
                'Ocp-Apim-Subscription-Key' => 't',
                'Ocp-Apim-Trace'            => 'true',
                'Appid'                     => 69,
                'ipval'                     => 0
            ];

            $processGetBillersISWProvider = FsiEngine::SterlingBankProvider()->GetBillersISW;
            $response = $processGetBillersISWProvider->send($formData, $header);

        }
    }

```

### **`Contributing`**

[](#contributing)

Please see our [Contribution Guide](https://docs.google.com/document/d/1qOXxA8IMm4xKo1LQd8Fodrn8Hk6VL70As5YTX9w_9yo/edit?usp=sharing) for details.

### **`Security`**

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

### **`Contact Us`**

[](#contact-us)

In the case of security vulnerabilities, bug detection and other development queries, you can contact  and also you can call us on 08033080471.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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://avatars.githubusercontent.com/u/90191436?v=4)[fsi-dev](/maintainers/fsi-dev)[@fsi-dev](https://github.com/fsi-dev)

---

Top Contributors

[![fsi-dev](https://avatars.githubusercontent.com/u/90191436?v=4)](https://github.com/fsi-dev "fsi-dev (3 commits)")[![hurlatunde](https://avatars.githubusercontent.com/u/4635086?v=4)](https://github.com/hurlatunde "hurlatunde (3 commits)")[![Oyelamin](https://avatars.githubusercontent.com/u/41972465?v=4)](https://github.com/Oyelamin "Oyelamin (1 commits)")

---

Tags

composercomposer-librarycomposer-packagefsi-sdkphpsdk

### Embed Badge

![Health badge](/badges/fsi-engine-fsi-php-sdk/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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