This client makes it easy to connect to the panel of your ethOS cryptocurrency miners.
Initiate the client:
$client = new \RutgerKirkels\Ethos_Api_Client\Client(<id_of_your_ethos_panel>);
Get all miners the current hashrate for all miners:
$miners = $client->getAllMiners();
foreach ($miners as $miner) {
echo 'Hashrate for miner ' . $miner->getId() . ': ' . $miner->getHashrate() . ' MH/s<br/>';
}