Google Business Profile
A typed API client for the Google Business Profile APIs: locations, performance, reviews and posts. It has no OAuth or UI of its own. Authentication comes from the Google base package, and other packages build local-business dashboards on top of it.
v1.0.0
MIT License
★ 0
composer require artisanpack-ui/google-business-profile
$ composer require artisanpack-ui/google-business-profile
✓ Service provider auto-discovered
✓ artisanpack-ui/google pulled in automatically
What it does
Every Business Profile API, one client
Typed primitives for the Business Profile APIs, authenticated through the shared Google base package.
Locations
Read and manage the business locations on an account.
Performance
Pull performance data for each location.
Reviews
Read reviews and work with review replies.
Posts
Create and manage Business Profile posts.
Typed requests and responses
Typed primitives for every call, so other packages can rely on the shape of the data.
Composable
No OAuth or UI of its own. Authentication comes from the Google base package, and the UI comes from the packages that use it.
Get started
Install the client
Install the package. It pulls in artisanpack-ui/google automatically, which handles OAuth and token storage.
1 · Install
composer require artisanpack-ui/google-business-profile
2 · Configure the base package
php artisan vendor:publish --tag=google-config
Requirements
What you need
| Requirement | Detail |
|---|---|
| Base package | artisanpack-ui/google, pulled in automatically |
| Google account | A connected account with access to the Business Profile locations |
| API calls need the base package configured and the current user's Google account connected. | |
Build local-business tools with Business Profile
A typed client for locations, performance, reviews and posts. Free and open source under the MIT license.
