PHP code example of abduselam / chapa-laravel
1. Go to this page and download the library: Download abduselam/chapa-laravel 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/ */
abduselam / chapa-laravel example snippets
use Chapa\Chapa\Facades\Chapa::setKey('CHAPA-SECK-xxxxxxxxxxxxxxxxxxxxx-X')->initializePayment($data);