PHPackages                             760524mkfa00/laravelgooglemaps - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. 760524mkfa00/laravelgooglemaps

ActiveLibrary[Image &amp; Media](/categories/media)

760524mkfa00/laravelgooglemaps
==============================

Package based on Google Maps

1.0(4y ago)0521MITPHPPHP ^7.4|^8.0

Since May 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/760524mkfa00/LaravelGoogleMaps)[ Packagist](https://packagist.org/packages/760524mkfa00/laravelgooglemaps)[ Docs](https://github.com/760524mkfa00/laravelgooglemaps)[ RSS](/packages/760524mkfa00-laravelgooglemaps/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Google Maps for Laravel with Caching
====================================

[](#google-maps-for-laravel-with-caching)

[![Latest Version on Packagist](https://camo.githubusercontent.com/44fef7b0b9735d931f78befec4bbde181a833aba2b89c9189509a19dd08a6810/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f3736303532346d6b666130302f6c61726176656c676f6f676c656d6170732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/760524mkfa00/laravelgooglemaps)[![Total Downloads](https://camo.githubusercontent.com/9f8b75ab7a7997ad2125fb902b03ada534a04f1af0109fdece0a022b175336a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f3736303532346d6b666130302f6c61726176656c676f6f676c656d6170732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/760524mkfa00/laravelgooglemaps)[![GitHub Actions](https://github.com/760524mkfa00/laravelgooglemaps/actions/workflows/main.yml/badge.svg)](https://github.com/760524mkfa00/laravelgooglemaps/actions/workflows/main.yml/badge.svg)[![StyleCI](https://camo.githubusercontent.com/cae0193262b0e3a2503d04938b5197471c2d1fa9cfea0b668302726bd71ea3bc/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3336373437343232342f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/367474224?branch=master)

Provides a nice wrapper for accessing the Google Maps API, including database caching of Lat and Long positions to reduce requests. You will require an API key from [Google Maps Platform](https://developers.google.com/maps)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require 760524mkfa00/laravelgooglemaps
php artisan config:publish 760524mkfa00/laravelgooglemaps
php artisan migrate
```

Add 'GOOGLE\_MAPS\_API\_KEY=xxxxxxxxxxxxxxxxxxxxxxx' to your .env file.

You can also add your AD Sense API Key to your .env file: 'GOOGLE\_ADSENSE\_PUBLISHER\_ID=xxxxxxxxxxxxxxxxxxxx' (optional)

Usage
-----

[](#usage)

Initialize Map:

Getting Distance:

Storing Distance to Database:

Editing Polygon and saving them to the database:

Within Polygon:

```
Editing Polygons:

Add the following css for deleting vertices on right click

.delete-menu {
    position: absolute;
    background: white;
    padding: 3px;
    color: #666;
    font-weight: bold;
    border: 1px solid #999;
    font-family: sans-serif;
    font-size: 12px;
    box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
    margin-top: -10px;
    margin-left: 10px;
    cursor: pointer;
}

.delete-menu:hover {
    background: #eee;
}
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Steve Marks](https://github.com/biostall)
- [Farhan Wazir](https://github.com/farhanwazir)
- [GeneaLabs, LLC](https://github.com/GeneaLabs)

Library initiative: BioStall

BioStall developed library for codeigniter originally, which you can found at  (link not working)

Conversion into Laravel from codeigniter by: GeneaLabs --  (but it is incomplete)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1809d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1409322?v=4)[Kieran](/maintainers/760524mkfa00)[@760524mkfa00](https://github.com/760524mkfa00)

---

Top Contributors

[![760524mkfa00](https://avatars.githubusercontent.com/u/1409322?v=4)](https://github.com/760524mkfa00 "760524mkfa00 (28 commits)")

---

Tags

googlemapgooglemapgmap760524mkfa00laravelgooglemaps

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/760524mkfa00-laravelgooglemaps/health.svg)

```
[![Health](https://phpackages.com/badges/760524mkfa00-laravelgooglemaps/health.svg)](https://phpackages.com/packages/760524mkfa00-laravelgooglemaps)
```

###  Alternatives

[farhanwazir/laravelgooglemaps

Laravel Google Map package for 5.x. You can use all google map features in laravel.

15542.0k2](/packages/farhanwazir-laravelgooglemaps)[cornford/googlmapper

An easy way to integrate Google Maps with Laravel.

457447.9k4](/packages/cornford-googlmapper)[aminyazdanpanah/php-shaka

Shaka PHP is a library that uses Shaka Packager for DASH and HLS packaging and encryption, supporting Common Encryption for Widevine and other DRM Systems.

939.0k1](/packages/aminyazdanpanah-php-shaka)[kinglozzer/silverstripegmapsobject

Add a Google Map (optionally with Streetview) to a DataObject or Page

168.6k](/packages/kinglozzer-silverstripegmapsobject)[doublesecretagency/craft-googlemaps

Maps in minutes. Powered by the Google Maps API.

1267.9k](/packages/doublesecretagency-craft-googlemaps)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
