PHP code example of yahaay-labs / alternator
1. Go to this page and download the library: Download yahaay-labs/alternator 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/ */
yahaay-labs / alternator example snippets
use \YahaayLabs\Alternator;
$strMessage = "Hello ";
$service = new Alternator\Service($strMessage);
echo $service->getMessage();
// Hello from Service
$service = new Alternator\Alternator($strMessage);
echo $service->getMessage();
// Hello from Alternator