How to get google-cloud-batch working with pubsub for publishing from an API in PHP

Am trying to use the google-cloud-batch daemon as referenced in the PubSub documentation, the documentation seems very sparse, have followed it to a T, set it to publish via batch, the code when publishing is definitely trying to add it to the batchRunner, but there does not seem to be anything going through google-cloud-batch.

Any help would be really useful!

Using the latest version of the google PubSub library.