PHP code example of azpays / laravel

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

    

azpays / laravel example snippets


dispatch_sync(new \AzPays\Laravel\Jobs\CreatePaymentJob('100'));

dispatch_sync(new \AzPays\Laravel\Jobs\CheckoutPaymentJob('PAYMENT_TOKEN'));

dispatch_sync(new \AzPays\Laravel\Jobs\CheckPaymentJob('PAYMENT_TOKEN'));

dispatch_sync(new \AzPays\Laravel\Jobs\ClaimWalletJob(10001, '100', 'PAYMENT_TOKEN'));
bash
php artisan vendor:publish --provider="AzPays\Laravel\AzPaysServiceProvider"