PHP code example of stichoza / skype-status-php

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

    

stichoza / skype-status-php example snippets


use Stichoza\Skype\SkypeStatus;

$mySkype = new SkypeStatus("echo123");

echo "User is " . $mySkype->getStatusString();    // output: User is online
echo "Status code: " . $mySkype->getStatusCode(); // output: Status code: 2