The Boorgeon Plivo PHP library simplifies the process of making REST calls and generating RESTXML.