2017 © Pedro Peláez
 

library findmyiphone

Find My iPhone client library for PHP

image

albeebe/findmyiphone

Find My iPhone client library for PHP

  • Thursday, February 2, 2017
  • by joostfaassen
  • Repository
  • 1 Watchers
  • 1 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 32 Forks
  • 0 Open issues
  • 1 Versions
  • 10 % Grown

The README.md

PHP-FindMyiPhone

PHP package to locate, play sounds, and lock iOS devices, (*1)

What is the purpose?

Since 2010, I've been logging my location history every 20 minutes. I find it to be really cool to look at a map showing me everywhere I have gone in the past few years., (*2)

Imgur, (*3)

Why should I use your code?

I have a vested interest in this code continuing to work so I'll be very quick to figure out why things stop working (which they do from time to time when Apple changes things) and I'll be quick to fix things., (*4)

How exactly does this code work?

I reverse engineered the API that the FindMyiPhone app uses and that allowed me to write this code. I found this really awesome piece of software called Charles Web Debugging Proxy that lets you look at the data an iPhone app sends and receives. Take a look at example.php for some sample code to get you up and running. You just need to enter your username and password., (*5)

What things can I do with this code?

Currently you can - Get the current location for any of your devices - Play a sound and display a message on any of your devices - Remotely lock and display a message and phone number on any of your devices, (*6)

Whats the simplest piece of code to get up and running

<?php
    require_once __DIR__ . '/vendor/autoload.php';
    $fmi = new FindMyiPhone\Client("icloud_username", "icloud_password");
    $fmi->printDevices();
?>

The Versions

02/02 2017

dev-master

9999999-dev http://www.github.com/albeebe/PHP-FindMyiPhone

Find My iPhone client library for PHP

  Sources   Download

Apache-2.0

The Requires

  • php >=5.3.0

 

by Al Beebe

php ios iphone icloud findmyiphone