Download the PHP package madbox-99/laravel-google-reviews without Composer

On this page you can find all versions of the php package madbox-99/laravel-google-reviews. 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 laravel-google-reviews

Laravel Google Reviews

Fetch and display Google Places reviews in Laravel and Filament apps. Configurable via config, .env, or a Filament settings page, with a publishable Blade component for display.

Heads up: Google's Places API returns up to 5 reviews per place plus the aggregate rating (average + total count). This package cannot exceed that — it is an API limitation.

Requirements

Install

Publish the config:

If you use the database driver (the default), publish and run the migrations:

Add your credentials to .env:

Configuration

config/google-reviews.php:

Key Env Default Purpose
api_key GOOGLE_PLACES_API_KEY Google Places API key (env/config only, never stored in the DB).
place_id GOOGLE_PLACES_PLACE_ID Place ID (string, or an array of IDs).
driver GOOGLE_REVIEWS_DRIVER database database (persisted + moderatable) or cache.
cache_ttl GOOGLE_REVIEWS_CACHE_TTL 86400 Cache lifetime in seconds (cache driver).
language GOOGLE_REVIEWS_LANGUAGE hu Language code requested from Google.

Settings resolve in the order DB (Filament UI) → config file → env default, so any of the three configuration methods works. The API key is the exception: it is always read from env/config for security.

Sync reviews

Fetch fresh reviews from Google and store them:

Schedule it in routes/console.php:

Display

Drop the component anywhere in a Blade view:

Publish the view to customize the markup (Tailwind-based by default):

Programmatic access

Filament

The package ships an optional Filament 4/5 plugin that adds a Google Reviews settings page (edit place ID, driver, cache TTL, language; the API key is shown read-only since it lives in .env).

Register it in your panel provider:

The settings page persists to a google_review_settings table, so publish and run the migrations if you haven't already:

Testing

License

MIT


All versions of laravel-google-reviews with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/support Version ^12.0 || ^13.0
illuminate/http Version ^12.0 || ^13.0
illuminate/database Version ^12.0 || ^13.0
illuminate/console Version ^12.0 || ^13.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 madbox-99/laravel-google-reviews contains the following files

Loading the files please wait ...