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

Google Map Bundle Laravel Package

petrepatrasc/google-map-bundle

A Symfony bundle for integrating Google Maps into your application, helping you configure map instances, markers, and frontend assets from PHP. It simplifies embedding interactive maps and managing map-related settings with minimal setup in Symfony projects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Geo-feature scoping and sequencing. Informs whether to invest in store/office locators, delivery-zone visualization, address autocomplete, geo-tagged content, or an ops pinboard. This package represents the "render a Google map in a template" layer — but it is a Symfony2-era bundle, so it is useful primarily as a cost/complexity reference point, not an adoption candidate for a Laravel product.
  • Build vs. buy for maps. The real commitment is Google Maps Platform: billing account, restricted keys, per-SKU pricing, and terms that constrain caching and reuse of address data. The wrapper itself is commodity. A PM should treat map rendering as ~1–2 engineer-days of in-house work and treat the provider contract as the actual "buy."
  • Framework modernization budgeting. For a Laravel shop, this package is a useful exhibit of stale-dependency risk: EOL framework, no releases, no maintainers, Twig 1.x assumptions. It supports a decision to keep new work on current Laravel/Symfony and to fund migrations away from legacy Symfony2 surfaces rather than patch them for a single feature.
  • Maintenance vs. migration trade-off. 0 stars, 0 dependents, and no visible test signal mean no external bug-finding or security response. If a stakeholder asks to "just add maps" via this package, the honest answer is a small internal component, not a fork.
  • Vendor lock-in and compliance posture. Google Maps Platform ToS (attribution, geocode caching limits, 30-day retention on geocodes) affect data architecture — can we store lat/lng from Google geocoding? — more than the bundle choice. This package does not encode those constraints, so the PM owns them regardless.
  • Defer vs. build. If geo features are not on the roadmap, evaluating this package should end with "close the ticket." Maps are usually a commodity utility, not a differentiator.

When to Consider This Package

Consider only in a narrow legacy scenario: an existing internal Symfony 2.x application where a map view is a nice-to-have, the bundle is already installed, and the work is scoped as maintenance — not new development. Even then, treat it as a throwaway Twig partial that dies with the framework, not a strategic dependency.

For a Laravel codebase, look elsewhere by default. Concretely:

  • New builds (Laravel or modern Symfony). Skip the bundle. A Blade partial plus ~50–100 lines of Google Maps JS API (or a small Stimulus/Alpine controller) is cheaper to own than any third-party wrapper. Wrappers earn their keep only when they abstract something genuinely painful — polyline encoding, marker clustering, server-side geocoding — and most of that lives in the underlying library, not this bundle.
  • Customer-facing geo features. 0 stars, 0 dependents, no security advisory channel, no upgrade path. If the map is on the critical path, you cannot depend on this.
  • The upstream fallback isn't viable. This appears to be a personal fork of the Ivory Google Map Bundle, which itself stopped being maintained. "Switch to the original" is not an option; the lineage is dead. Plan for direct API integration instead.
  • Laravel specifically. There is no bundle concept in Laravel; you cannot composer require this and get behavior. You could extract the underlying framework-agnostic map-builder/encoder classes — but that is estimated at 2–4 engineer-weeks before any feature work, which is usually not justified when reimplementation is days.
  • Cost or privacy constraints. Google Maps Platform bills per SKU beyond a free monthly tier and requires a billing account with restricted keys. If the feature is decorative or the user base is large, self-hosted OSM with Leaflet/MapLibre removes both the bill and the third-party data flow — often the better PM call.
  • Advanced needs. Routing optimization, high-volume geocoding, offline/air-gapped deployment, or heavy spatial queries are server-side API or PostGIS problems, not client-render problems. This bundle does not help.

How to Pitch It (Stakeholders)

To executives: We evaluated this package as a way to add maps to the product and recommend against adopting it. It is an unmaintained Symfony 2 bundle with no user base and no one to fix it if it breaks; Symfony 2 itself has been unsupported since 2018. The good news is that a map widget is cheap to build — one to two engineer-days directly against the Google Maps JavaScript API. The real cost and risk sit with the map provider: a billing account, per-request pricing above the free tier, and licensing terms that restrict how we store and reuse address data. Recommendation: defer unless a geo feature is genuinely on the roadmap; if we do build, budget the provider contract and a small in-house component rather than a third-party bundle.

To engineering: Do not take a dependency here. No tests, no releases, no downstream consumers, and an EOL framework underneath. The bundle layer is mostly Symfony wiring and Twig helpers; the reusable payload is the underlying map-builder/encoder classes in the egeloen/ivory-google-map lineage — and that lineage is also abandoned, so "use the upstream" is not a fallback. If a legacy Symfony2 internal tool needs this, isolate it as a throwaway Twig partial that dies with the framework. If we are on Laravel, call the Maps JS API from a Blade partial or a small Stimulus controller — the wrapper adds indirection without removing the tricky parts (key restriction, async loading, marker lifecycle, CSP-safe inline scripts). Flag the geocoding data-retention constraint early; it will otherwise surface during a compliance review after we have already cached coordinates in the database.

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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource