1. Go to this page and download the library: Download tdanielcox/bluesnap-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/ */
tdanielcox / bluesnap-php example snippets
public function __construct()
{
$environment = 'sandbox'; // or 'production'
\tdanielcox\Bluesnap\Bluesnap::init($environment, 'YOUR_API_KEY', 'YOUR_API_PASSWORD');
}