Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Gmap Bundle

Gmap Bundle Laravel Package

jfsimon/gmap-bundle

jfsimon/gmap-bundle is a Symfony bundle for embedding Google Maps, with PHP and Twig helpers to configure maps, markers, and info windows and render them in templates. It simplifies adding customizable interactive maps to Symfony applications.

View on GitHub
Deep Wiki
Context7

[DEVEL] A Symfony2 bundle to manage GMap API

Frequently asked questions about Gmap Bundle
Can I use jfsimon/gmap-bundle in a Laravel application?
No. jfsimon/gmap-bundle is a Symfony 2 bundle that depends on Symfony's bundle registration, dependency-injection container, configuration tree and Twig templating, none of which Laravel provides. Laravel uses service providers, its own container, a config repository and Blade, and there is no compatibility shim between them. Making it run would mean booting a parallel Symfony kernel or rewriting the bundle internals as Laravel services.
Does jfsimon/gmap-bundle support Laravel 10, Laravel 11 or PHP 8.1+?
Unlikely. The bundle targets Symfony 2.x and the PHP 5.x era, while Laravel 10 and 11 require PHP 8.1 or newer with modern PSR-4 autoloading and package discovery. Its Symfony 2 dependency constraints will typically conflict with a modern Laravel install before you ever reach runtime code. Even inside a Symfony shop this is a legacy-only artifact.
Is jfsimon/gmap-bundle still maintained or effectively abandoned?
It is effectively unmaintained. The repository is flagged pre-stable with no implied API contract, has roughly 19 stars and zero dependents, so there is no community validation or production signal. Symfony 2 itself is end-of-life and receives no security patches, which makes the whole stack a liability. Check the last commit date, the license and whether Packagist marks the package abandoned before spending time on it.
Does jfsimon/gmap-bundle use Google Maps JavaScript API v2 or v3?
This is the single most important thing to verify before anything else. If the emitted JavaScript references GMap2, GLatLng or GClientGeocoder, it is Google Maps JS API v2, which Google retired, and the bundle is functionally dead. If it uses google.maps.Map and google.maps.LatLng it is v3 and may still render. The check takes about an hour and should gate any further investigation.
What features does jfsimon/gmap-bundle actually provide?
It offers a service-oriented API for declaring maps, configuring controls and placing markers and info windows, with flexible YAML settings and Twig helpers for rendering. The stated goal is keeping map logic out of templates and controllers clean. In practice it is a thin abstraction: a map view object, a JavaScript bootstrap and a small geocoder service cover roughly the same ground in a modern codebase.
What is the best Laravel alternative to jfsimon/gmap-bundle for Google Maps?
Most Laravel teams do not need a wrapper at all. A MapView value object holding center, zoom and markers, a Blade partial that emits the Google Maps JS API bootstrap, and a geocoder service behind an interface is roughly one sprint of work and stays fully testable. If you prefer a package, pick a maintained Laravel-native one or call the Google Maps Web Services directly with Guzzle.
Can I reuse or port jfsimon/gmap-bundle code into a Laravel project?
Yes, but as a reference design rather than a Composer dependency. Read DependencyInjection/Configuration.php for the config surface, Resources/config/services.xml for the service graph and the Twig directory for the rendering contract, then reimplement the useful ten percent natively. A server-side map manager layer adds a dependency without adding capability, so porting the ideas beats porting the code.
Does jfsimon/gmap-bundle handle API keys, billing, quotas and GDPR consent?
No. Google Maps' commercial model changed substantially after the Symfony 2 era: API keys are mandatory, billing accounts are required, quota controls are expected, and consent plus privacy review applies to customer-facing surfaces. A pre-stable wrapper from that period provides none of that governance. You would have to build key management, key restrictions and consent handling yourself regardless.
Can jfsimon/gmap-bundle render multiple maps on one page without DOM ID collisions?
This is unclear and needs verification in the Twig helper. A common failure mode in older wrappers is emitting a fixed id="map" element and an un-namespaced initialization script, so two maps on one page collide and only one renders. Check for unique element IDs and namespaced init JavaScript before relying on it for anything beyond a single map per page.
Does jfsimon/gmap-bundle have tests, CI or static analysis?
There is no evidence of tests, continuous integration or static analysis in the project. That means regressions are undetectable and there is no monitoring seam if something breaks in production. Combined with zero dependents, bugs are unlikely to be surfaced or fixed upstream, so any behavior you rely on must be verified and pinned yourself.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
vento/laravel-airbrake
wfeller/laravel-batch
maco-studios/mage-os-installer
busarm/armie
siberfx/laravel-logger
kfteam1991/dcat-admin
dashed/dashed-laposta
dashed/dashed-ecommerce-montaportal
dashed/dashed-ecommerce-etsy
neohq/string-blade-compiler
log1x/acf-composer
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core
nodisrupt/laravel-agent
sierratecnologia/media-manager