laravel-enso / google
Google integration settings and helpers for Laravel Enso
Requires
- laravel-enso/forms: ^5.0
- laravel-enso/helpers: ^4.0
- laravel-enso/migrator: ^2.0
- laravel-enso/upgrade: ^2.13
- dev-master
- 2.6.1
- 2.6.0
- 2.5.12
- 2.5.11
- 2.5.10
- 2.5.9
- 2.5.8
- 2.5.7
- 2.5.6
- 2.5.5
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-refactor/configSettings
- dev-upgrade/laravel11
- dev-upgrade/removeUpgradeFiles
- dev-feature/placesApi
- dev-upgrade/enso6-dr
- dev-upgrade/enso6
- dev-hotfix/encryption
- dev-feature/dropSuffix
This package is auto-updated.
Last update: 2026-04-21 15:07:31 UTC
README
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/settingsPATCH api/integrations/google/settings/{settings}
Services
LaravelEnso\\Google\\APIs\\GeocodingLaravelEnso\\Google\\APIs\\ReviewsLaravelEnso\\Google\\Validation\\Recaptcha
Depends On
Required Enso packages:
Companion frontend package:
Contributions
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!