PHP code example of aactary / inter-galax

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

    

aactary / inter-galax example snippets



    actary\InterGalax\GalaxPay;
  
    $id = "5473";
    $hash = "83Mw5u8988Qj6fZqS4Z8K7LzOo1j28S706R0BeFe";
    $obGalax = new GalaxPay($id, $hash);
  
    //retorna um array de clientes - GET
    $clientes = $obGalax->sendRequest('/customers',[
         "startAt"   =>  0,
         "status"    =>  "active",
         "limit"     =>  50
    ]);
  
    echo '<pre>';print_r($clientes);echo '</pre>';exit;