Very basic functionality for Apple ICloud services:
- Find My iPhone service
- Account service
- get list of devices, status, locations
- send message
- play sound
- get list of devices with serial number (only last 4 digits)
##### Example:
$icloud = new PHPICloud\PHPICloud('apple_id', 'pass');
$devices = $icloud->getFindMyiPhoneService()->devices();
foreach($devices as $d) {
print $d->id . "\n";
}
print ($icloud->getAccountService()->devices()[0]->serialNumber);
Inspired by pyicloud library.