PHP code example of xendit / xendit-php-clients

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

    

xendit / xendit-php-clients example snippets




use Xendit\Configuration;

Configuration::setXenditKey('XENDIT_API_KEY');
json
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/xendit/xendit-php.git"
    }
  ],
  "