PHP code example of crossriverbank / crossriver-php

1. Go to this page and download the library: Download crossriverbank/crossriver-php 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/ */

    

crossriverbank / crossriver-php example snippets






use \Crossriver\Settings;
use \Crossriver\Bootstrap;

Settings::configure([
    "root_url" => "https://api.sandbox.crb.finixpayments.com",
    "username" => "USq8mEqvcj1h5oKACLxBaR5N",
    "password" => "18288a65-3fec-481f-8cad-e924a31a0347"
]);

Bootstrap::init();
bash
composer