PHP code example of tonystore / laravel-paymentez

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

    

tonystore / laravel-paymentez example snippets

 
 

return [
    'auth_code' => env('PAYMENTEZ_API_CODE', ''),

    'auth_key' => env('PAYMENTEZ_API_KEY', ''),

    'base_url' => [
        'ccapi' => env('PAYMENTEZ_CCAPI_URL'),
        'noccapi' =>  env('PAYMENTEZ_NOCCAPI_URL')
    ],
];
bash
  php artisan vendor:publish --provider="TonyStore\LaravelPaymentez\LaravelPaymentezProvider"