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

ActiveLibrary

davidnsai/davidnsai-broadpay-php
================================

This is a PHP library for the Broadpay API

v1(2y ago)025MITPHP

Since Jan 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/davidnsai/BroadPay-PHP)[ Packagist](https://packagist.org/packages/davidnsai/davidnsai-broadpay-php)[ RSS](/packages/davidnsai-davidnsai-broadpay-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Broadpay PHP Package
====================

[](#broadpay-php-package)

This is a PHP package for the Broadpay Zambia Fintech API. The API allows merchants to add online payment functionalities to their websites and apps. The API allows merchants to collect payments via Mobile Money and Debit/Credit Card. This package simplifies the integration process with PHP web apps for newbie developers.

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

[](#installation)

This package can be installed to your project using the following composer command:

```
composer require davidnsai/davidnsai-broadpay-php

```

In case you can any errors during the installations, please run the following commands:

```
composer config minimum-stability dev
composer config prefer-stable true

```

The above commands change the minimum stability in your project's `composer.json`

Usage
-----

[](#usage)

At present, the package supports collection and sending of money to and from mobile wallets using the REST API. It also supports creation of Hosted checkout links.

### Hosted Payments

[](#hosted-payments)

Hosted checkout links can be created using the sample code below: The code below assumes you are using a framework which has autoload functionality like CodeIgniter or Laravel.

```
