Download the PHP package bronhy/google-my-business-php-client without Composer
On this page you can find all versions of the php package bronhy/google-my-business-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bronhy/google-my-business-php-client
More information about bronhy/google-my-business-php-client
Files in bronhy/google-my-business-php-client
Package google-my-business-php-client
Short Description Google My Business
License Apache-2.0
Homepage https://github.com/bronhy/google-my-business-php-client
Informations about the package google-my-business-php-client
PHP Client library for Google My Business
The Google My Business API client libraries wraps the functionality of the Google My Business API, and provide functionality common to all Google APIs, for example HTTP transport, error handling, authentication, JSON parsing, and support for protocol buffers.
This package contains the Service definition for MyBusiness and it depends on Google API PHP Client
You are welcome to contribute and ask for maintenance rights.
BIG NOTICE
Google is updating My Business API and exposing the new Service definitions in this library. https://github.com/googleapis/google-api-php-client-services. After the udpate is compleate this repository will be marked as DEPRECATED.
Requirements:
Google API PHP Client URL: https://github.com/google/google-api-php-client/releases
How to install
The easiest way to install is with composer.
composer require bronhy/google-my-business-php-client
Semantic Versioning
Do notice that google is not following semantic versioning RFC https://semver.org/ with this library. Since this package reflects the google versioning make sure that you lock to your version.
Configure with Symfony framework
Detailed error responses
To enable more detailed error messages in responses, such as absent required fields, add the following additional header to your requests:
X-GOOG-API-FORMAT-VERSION: 2
For additional information on error message responses, see the ErrorCode, ErrorDetail, InternalError, and ValidationError pages in the Shared.Types section.
Or with symfony in service_dev.yaml
Authentication script examples
Service Account
Get and include the Google_Client as described above.