billplz/billplz-api

3.7.8 2018-09-30 09:51 UTC

README

Latest Stable Version Total Downloads Latest Unstable Version License

Minimum System Requirement

  • PHP 7.0 or newer

Installation

To install through composer, simply execute:

composer require billplz/billplz-api

or

{
    "require": {
        "billplz/billplz-api": "^3.7"
    }
}

Usages

Connecting with Billplz API

By it's design, the Connect class are able to determine the API Key is belong to Production or Staging environment.

<?php

use Billplz\Connect;
$connect = (new Connect('<api-key-here>'))->detectMode();

// Or manually set the mode
$connect = new Connect('<api-key-here>');
$connect->setMode(true);

Other

Please open an issue or email to Facebook: Billplz Dev Jam