This simple PHP client communicates with the Eobot Cloud Bitcoin mining service to manage your mining. For more information about Eobot, see https://www.eobot.com
use RickDenHaan\Eobot;
try {
$client = Eobot\Client($userId);
$currentlyMining = $client->getMiningMode();
$client->setMiningMode(Eobot\Client::COIN_LITECOIN, $userName, $password);
} catch (\Exception $exception) {
// something went wrong, fix it and try again!
}
If you find any bugs, please raise an issue on Github.
Happy coding!