PHP code example of chekalskiy / yoapp-php
1. Go to this page and download the library: Download chekalskiy/yoapp-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/ */
chekalskiy / yoapp-php example snippets
try {
$yo = new \che\Yo({API_TOKEN});
// send a yo to all subscribers
$yo->sendAll(array('link' => 'http://example.com'));
} catch (\che\YoException $e) {
echo "Error #" . $e->getCode() . ": " . $e->getMessage();
}
" "chekalskiy/yoapp-php": "~1.0"
}