PHP code example of compralo / compralo-php

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

    

compralo / compralo-php example snippets


$apiKey = '827260d4-fb11-45c6-7e45-b2c65ac51ee9';
$Compralo =  new \Compralo\Compralo($apiKey);
sh
composer