Skip to content
This repository has been archived by the owner on Dec 12, 2019. It is now read-only.

Latest commit

 

History

History
47 lines (33 loc) · 1.22 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.22 KB

Billplz API Class

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