Download the PHP package artisanpack-ui/google-business-profile without Composer

On this page you can find all versions of the php package artisanpack-ui/google-business-profile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package google-business-profile

ArtisanPack UI Google Business Profile

OAuth-free, UI-free API client for the Google Business Profile family of APIs (accounts, locations, performance, reviews, posts, and media).

This package is a pure HTTP client built on Laravel's Http facade. It brings no OAuth flow and no UI of its own. Callers pass in any TokenProvider — the Keystone CMS plugin, for example, binds it to GoogleOAuthManager from artisanpack-ui/google.

Google Business Profile API access is approval-gated per Google Cloud project. That gates production release, not local development against Http::fake(). See the access-approval note for details.

Installation

The package auto-registers its service provider and the GoogleBusinessProfile facade alias via Laravel's package discovery.

The TokenProvider contract

Every resource client accepts a TokenProvider and calls accessToken() on it before each request. The client itself performs no OAuth — it delegates token acquisition (including refresh) to whichever provider the host application binds.

In Keystone CMS the provider is bound to GoogleOAuthManager, which transparently refreshes expired tokens. In tests it is typically a stub that returns a fixed string. Anywhere else, bind whatever fits.

See the TokenProvider guide for worked examples of each binding style.

The four API families

The Google Business Profile surface is spread across four separate host names. This package wraps each family with a dedicated client that shares the same retry and error-mapping foundation:

Family Client Base URL
Account Management AccountManagementClient https://mybusinessaccountmanagement.googleapis.com/v1
Business Information BusinessInformationClient https://mybusinessbusinessinformation.googleapis.com/v1
Legacy v4 (Reviews, Local Posts, Media) ReviewsClient, LocalPostsClient, MediaClient https://mybusiness.googleapis.com/v4
Performance PerformanceClient https://businessprofileperformance.googleapis.com/v1

The full method-by-method map lives in docs/reference/api-families.md.

Testing with Http::fake()

Every client resolves the same Illuminate\Http\Client\Factory singleton that the Http facade resolves, so Http::fake() works out of the box — no bespoke test doubles required.

See the testing guide for retry behaviour, error mapping, and a full walk-through of faking each API family.

Documentation

The full documentation set lives in docs/:

Contributing

As an open source project, this package is open to contributions from anyone. Please read through the contributing guidelines to learn more about how you can contribute to this project.


All versions of google-business-profile with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
artisanpack-ui/core Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package artisanpack-ui/google-business-profile contains the following files

Loading the files please wait ...