REST Service for PHP