PHP code example of basbit / b2binpay

1. Go to this page and download the library: Download basbit/b2binpay library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

basbit / b2binpay example snippets


$provider = new B2Binpay\Provider(
    'API_KEY',
    'API_SECRET',
    'https://calback.com/callback'
);

$provider = new B2Binpay\Provider(
    'API_KEY',
    'API_SECRET',
    'https://calback.com/callback',
    true
);