PHP code example of websoftwares / yo

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

    

websoftwares / yo example snippets


{
    "  "websoftwares/yo": "~0.2"
    }
}

use Websoftwares\YoClient, Websoftwares\Yo;

// apiKey
$apiKey = 'obtain-valid-api-key-from-yo';

// Instantiate class
$Yo = new Yo(new YoClient($apiKey));

// Perform method
$yo->all();

$yo->all();

$yo->all("yo.websoftwar.es");

$yo->user("BORIS010");

$yo->user("BORIS010", "yo.websoftwar.es");

$yo->subscribersCount();

php composer.phar install