PHP code example of xendit / xendit-php

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

    

xendit / xendit-php example snippets




use Xendit\Configuration;

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