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

wzul/Billplz-API-Class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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