PHP code example of otnansirk / laravel-xendit
1. Go to this page and download the library: Download otnansirk/laravel-xendit 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/ */
otnansirk / laravel-xendit example snippets
'providers' => [
// ...
Otnansirk\Xendit\XenditServiceProvider::class,
];
use Otnansirk\Xendit\Facades\Xendit;
// Available functions
Xendit::customer();
Xendit::paymentMethod();
Xendit::paymentRequest();
Xendit::transaction();
Xendit::refund();
Xendit::balance();
Xendit::payout();
Xendit::invoice();
sh
php artisan vendor:publish --provider="Otnansirk\Xendit\XenditServiceProvider"