Petoneer / Revogi PHP
Installation:
Grab petoneer.class.php via your chosen method.
Requirements: php-curl, php-json
The access token is written to the file system to avoid multiple calls, to a file called cache.json. You may need to manually create this and assign the relevant user permissions.