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

Googlmapper Laravel Package

cornford/googlmapper

GooglMapper makes it easy to add Google Maps to Laravel apps. Create maps, markers, info windows, and overlays with a simple PHP API, customize controls and styles, and render interactive maps in Blade views without writing JavaScript.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping for map-based surfaces. This package underpins a recurring class of features: store/office locators, delivery-zone visualization, property and listing maps, event maps, field-service routing views, and admin dashboards that plot records geographically. If any of these sit in your backlog, this is a candidate implementation path rather than a from-scratch JS integration.
  • Build vs. buy on the "glue" layer, not the map layer. Googlmapper does not replace Google Maps — it wraps map instantiation, marker/entity binding, and Blade rendering into a Laravel-native façade. The real decision is whether to spend engineering days writing and maintaining that glue versus adopting an MIT-licensed library that already encodes the conventions.
  • Time-to-first-map for internal tools and MVPs. Its strongest fit is low-ceremony, server-rendered map embedding inside a Laravel monolith where the map is a supporting element, not the product. That is a genuine schedule lever for prototypes, proofs of concept, and back-office tooling.
  • Roadmap sequencing signal. Adoption here is a bet on a stable, low-churn domain (render points on a map). It is reasonable to slot map features early if the rest of the product is Laravel/Blade-based, and to defer or re-platform them if the front end is SPA/Inertia/API-first, where a server-side PHP wrapper delivers little value.
  • Risk and ownership planning. With the last release in October 2019 and zero dependent packages, adopting this is a decision to own a dependency, not to consume a maintained one. Budget for a compatibility spike and a fork-and-vendor fallback as part of the same decision, not as a later surprise.
  • Cost-model input. Maps carry usage-based billing and API-key governance. Choosing a thin wrapper does not change that exposure, but it does centralize where map configuration and keys live in the codebase — useful for auditing and for later cost controls.

When to Consider This Package

Consider it when most of the following hold:

  • The application is a Laravel monolith using Blade/server-rendered views, and the map is embedded in a page rather than driving a rich client-side app.
  • Requirements are modest and static-ish: render markers from Eloquent models, set center/zoom, embed a map in a form or detail page. No clustering at scale, no drawing tools, no real-time overlays.
  • You are on, or can verify compatibility with, the Laravel versions this was built against (roughly 5.8–6.x era). A short spike on your actual version is mandatory before committing.
  • You value convention and brevity over capability breadth, and you accept the maintenance burden of an unmaintained MIT dependency in exchange for faster delivery.
  • The map is non-differentiating — a convenience in an internal or secondary surface where a bespoke implementation would be over-engineering.

Look elsewhere when:

  • You are on modern Laravel (9/10/11/12) and need a dependency that tracks framework releases; unmaintained packages become upgrade friction at exactly the wrong moment.
  • Your front end is Inertia, Livewire-heavy, Vue, or React. You would be paying for a PHP rendering layer you bypass entirely; use the Maps JavaScript API directly or a front-end map component library.
  • You need advanced map capability — Places Autocomplete, Directions/Matrix, advanced markers, WebGL overlays, marker clustering, or heavy geospatial rendering. Those belong to the Google SDKs or a mature JS wrapper, not a 2019-era PHP façade.
  • You need vendor support, SLAs, or a security response path. There is none here; zero dependents means no crowd-sourced maintenance either.
  • Your team would rather own ~50 lines of Blade plus a script tag than own a third-party package — a defensible call given how thin this abstraction is.

How to Pitch It (Stakeholders)

For executives: This is a small, free, MIT-licensed Laravel library that shortens the path to putting maps in the product — store locators, listings, admin geography views — by removing bespoke integration work for common cases. It is genuinely useful for prototypes and internal tools and costs nothing to license. The honest caveat is that it has not been released since 2019 and has no downstream packages depending on it, so it is a "borrow the code, own the risk" proposition rather than a maintained vendor relationship. Recommendation: approve for a bounded pilot with an explicit compatibility check and a one-sprint exit path, rather than as a long-term platform commitment. Note that map usage billing and API-key governance are Google's, and are unchanged by this choice.

For engineering: Treat Googlmapper as a convenience façade over the Maps JavaScript API, not as a capability layer. It saves writing marker-binding and map-instantiation boilerplate in Blade views and gives a Laravel-idiomatic way to hand Eloquent data to the map. Before adoption, verify it installs and behaves on our Laravel version and PHP runtime — assume it targets the 5.8–6.x era, so expect service-provider or facade friction on newer versions. Plan for the two realistic outcomes: pin and run it as-is on a supported version, or fork and vendor it, which is cheap given the scope. Do not build advanced map requirements (autocomplete, routing, clustering, large marker volumes) on top of it; those should talk to the Google SDKs directly so the package stays a thin, replaceable layer. Isolate the integration behind our own small internal interface so swapping to hand-rolled Blade or a front-end component later is a contained change, and centralize the API key and map configuration in one place from day one.

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.
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
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect