Laravel EnsoLaravel Enso
Guide
Back End
Front End
GitHub
Guide
Back End
Front End
GitHub
  • Back End

    • Action Logger
    • Addresses
    • Algolia
    • Algolia Webshop
    • API
    • Audits
    • Avatars
    • Cache Chain
    • Calendar
    • Cargo Partner
    • Categories
    • Charts
    • CI/CD
    • Cli
    • CNP Validator
    • Comments
    • Commercial
    • Companies
    • Core
    • Countries
    • Currencies
    • Data Export
    • Data Import
    • Discounts
    • Documents
    • Dynamic Methods
    • EAV
    • Emag
    • Enums
    • Excel
    • Facebook
    • Files
    • Filters
    • Financials
    • Forms
    • Frisbo
    • Google
    • Helpers
    • Holidays
    • How-to
    • Image Transformer
    • Impersonate
    • Interactions
    • Inventory
    • IO
    • Localisation
    • Lockable Models
    • Logs
    • Measurement Units
    • Meili Search
    • Meili Search Webshop
    • Menus
    • Migrator
    • Monitored Emails
    • Notifications
    • Packaging Units
    • PDF
    • People
    • Permissions
    • Product Eav
    • Product Lots
    • Products
    • Questionnaires
    • Rememberable
    • Roles
    • Sale Channels
    • Searchable
    • Select
    • Sentry
    • Services
    • Smart Bill
    • Sms Advert
    • Stripe
    • Tables
    • Tasks
    • Teams
    • Ticketing
    • Track Who
    • Tutorials
    • Typesense
    • Typesense Webshop
    • Unit Conversion
    • Upgrade
    • UPS
    • User Groups
    • Users
    • Versions
    • Virtual Call Center
    • Vouchers
    • Webshop
    • Webshop Commercial

Google

LicenseStableDownloadsPHPIssuesMerge Requests

Description

Google adds Google-related settings, geocoding helpers, Places review access, and a reCAPTCHA validation rule for Laravel Enso.

The package stores a single settings record, supports environment overrides for analytics, ads, maps, places, geocoding, and reCAPTCHA keys, exposes settings endpoints under the Integrations area, and includes a manual upgrade helper for moving legacy table columns toward environment-based configuration.

It is a lightweight integration package rather than a full Google SDK wrapper.

Installation

Install the package:

composer require laravel-enso/google

Run the package migrations:

php artisan migrate

Optional publish:

php artisan vendor:publish --tag=google-config

Features

  • Settings record for Google integration keys and IDs.
  • Settings endpoints under integrations.google.settings.
  • Geocoding and Places helper services.
  • Invokable reCAPTCHA validation rule backed by the configured secret.
  • Manual upgrade helper for deprecating old database columns.

Usage

Resolve current runtime settings through the settings model:

use LaravelEnso\Google\Models\Settings;

$mapsKey = Settings::mapsKey();
$placesKey = Settings::placesKey();
$recaptchaKey = Settings::recaptchaKey();

Use the validation rule:

use LaravelEnso\Google\Validation\Recaptcha;

API

HTTP routes

  • GET api/integrations/google/settings
  • PATCH api/integrations/google/settings/{settings}

Services

  • LaravelEnso\\Google\\APIs\\Geocoding
  • LaravelEnso\\Google\\APIs\\Reviews
  • LaravelEnso\\Google\\Validation\\Recaptcha

Depends On

Required Enso packages:

  • laravel-enso/forms ↗
  • laravel-enso/helpers ↗
  • laravel-enso/migrator ↗
  • laravel-enso/upgrade ↗

Companion frontend package:

  • @enso-ui/google ↗

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

Edit this page on GitHub
Last Updated: 4/20/2026, 6:07:30 PM
Prev
Frisbo
Next
Helpers