Ducksboard (http://ducksboard.com) has an API, but no PHP library.  Now it does.