PHP code example of ggsoftwarellc / nitropay-sponsor-php

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

    

ggsoftwarellc / nitropay-sponsor-php example snippets




$signer = new NitroPaySponsor\Signer('YOUR_PRIVATE_KEY');

$token = $signer->sign([
    'siteId' => '109', // /s.gravatar.com/avatar/0d3964876826ac9554d88d5a51ea87a2?s=80', // optional
    'name' => 'John Doe', // optional
]);