- PHP 7.0 or newer
To install through composer, simply execute:
composer require billplz/billplz-api
or
{
"require": {
"billplz/billplz-api": "^3.7"
}
}
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);
Please open an issue or email to Facebook: Billplz Dev Jam