PHP code example of i-avatar777 / avatar-pay

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

    

i-avatar777 / avatar-pay example snippets


[
    'components' => [
    // ...
        'AvatarPay' => [
            'class'     => '\iAvatar777\avatarPay\AvatarPay',
            'key'       => '...',
            'secret'    => '...',
        ]    
    // ...
    ]
];