Google integration settings and helpers for Laravel Enso
laravel-enso/google is a Laravel package for google integration settings and helpers for laravel enso.
It currently has 0 GitHub stars and 24.120 downloads on Packagist (latest version 2.6.5).
Install it with composer require laravel-enso/google.
Discover more Laravel packages by laravel-enso
or browse all Laravel packages to compare alternatives.
Last updated
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.
Install the package:
composer require laravel-enso/google
Run the package migrations:
php artisan migrate
Optional publish:
php artisan vendor:publish --tag=google-config
integrations.google.settings.Resolve current runtime settings through the settings model:
use LaravelEnso\Google\Models\Settings;
$mapsKey = Settings::mapsKey();
$mapId = Settings::mapId();
$placesKey = Settings::placesKey();
$recaptchaKey = Settings::recaptchaKey();
Use the validation rule:
use LaravelEnso\Google\Validation\Recaptcha;
GET api/integrations/google/settingsPATCH api/integrations/google/settings/{settings}LaravelEnso\\Google\\APIs\\GeocodingLaravelEnso\\Google\\APIs\\ReviewsLaravelEnso\\Google\\Validation\\RecaptchaRequired Enso packages:
Companion frontend package:
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!