1. Go to this page and download the library: Download akcybex/laravel-jazzcash 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/ */
akcybex / laravel-jazzcash example snippets
// ...
// Get request data after validation while submitting checkout
$i = $request->all();
// will return form fields
$data = \AKCybex\JazzCash\Facades\JazzCash::request()->setAmount($i['amount'])->toArray($i);
// ...