You can do this with a service account Service Account
Also make sure you use the new client lib found here: google-api-php-client. The one linked on the service account page is the older version. There should also be some samples in the github project.