PHP code example of jonathanitakpe / payantng-php

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

    

jonathanitakpe / payantng-php example snippets



ayantNG\Payant;

$Payant = new Payant\Payant('13337b87ee76gew87fg87gfweugf87w7ge78f229c');
$client_deet = ['first_name' => 'Jonathan',
				'last_name' => 'Itakpe',
				'email' => '[email protected]',
				'phone' => '+234809012345'];

$Payant->addClient($client_deet);