PHPackages                             i-saad-salman/nova-map-address - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. i-saad-salman/nova-map-address

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

i-saad-salman/nova-map-address
==============================

A Laravel Nova field to place a marker on map to get coordinates then it reverse geocoding the coordinates to get a street address. It also provides auto complete functionality

1.0.2(4y ago)017MITVuePHP &gt;=7.1.0

Since Nov 21Pushed 4y agoCompare

[ Source](https://github.com/iSaadSalman/nova-map-address)[ Packagist](https://packagist.org/packages/i-saad-salman/nova-map-address)[ RSS](/packages/i-saad-salman-nova-map-address/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Nova Map Address Field
----------------------

[](#nova-map-address-field)

A Nova field to place a marker on map to get coordinates then it reverse geocoding the coordinates to get a street address. Address field can have autocomplete feature and coordinates can be entered manually in Lat &amp; Lng feilds.

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

[](#installation)

You can install the package in to a Laravel app that uses Nova via composer:

```
composer require i-saad-salman/nova-map-address
```

Configuration
-------------

[](#configuration)

Publish the package config file:

```
php artisan vendor:publish --provider="ISaadSalman\MapAddress\FieldServiceProvider"
```

This is the contents of the file which will be published at [config/map-address.php](config/map-address.php).

Add the following keys to your `.env` and `.env.example`:

```
MAP_ADDRESS_API_KEY=

Optional: Set map and address language
MAP_ADDRESS_LANGUAGE=es

```

If you need a Google Maps API key, you can create an app and enable Places API and create credentials to get your API key . Make sure to enable Places API

To save lat &amp; lng packages expects 2 feilds which you can configure. In addition to this it expects and address field

Usage:
------

[](#usage)

Add the below to Nova/{Model}.php resource:

```
use iSaadSalman\MapAddress\MapAddress;

[
    MapAddress::make('address'),

    // You can set the initial map location. By default (Spain)
     MapAddress::make('address')
        ->initLocation(38.261842, -0.6868031),

    // You can set the location from the model
    MapAddress::make('address')
        ->setLocation($this->latitude, $this->longitude),

    // You can select the name of lat/lng fields. By default is lat/lng
    MapAddress::make('address')
        ->setLatitudeField('latitude')
        ->setLongitudeField('longitude'),

    // You can select what is the first result set in address field
    MapAddress::make('address')
        ->setGoogleResultType('street_address'),

    // Enable Drag for the markers
     MapAddress::make('address')
        ->initLocation(38.261842, -0.6868031)
        ->enableDrag(true),

    // Enable auto complete for address field
     MapAddress::make('address')
        ->initLocation(38.261842, -0.6868031)
        ->enableAutocomplete(true),

    // You can also set the map zoom level. By default (4)
     MapAddress::make('address')
        ->initLocation(38.261842, -0.6868031)
        ->zoom(12),
]
```

[![Package screenshot](/doc/map.png)](/doc/map.png)

Support:
--------

[](#support)

- Saad:

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Every ~253 days

Total

4

Last Release

1603d ago

Major Versions

0.1.0 → 1.0.02021-12-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/06ff15006b55b83195c40f167779cbefa7bc296feef367ee3bdcb1669121a539?d=identicon)[siner55](/maintainers/siner55)

---

Top Contributors

[![JoseVte](https://avatars.githubusercontent.com/u/3540836?v=4)](https://github.com/JoseVte "JoseVte (2 commits)")

---

Tags

laravelautocompletegeocodingaddressmapgeonova

### Embed Badge

![Health badge](/badges/i-saad-salman-nova-map-address/health.svg)

```
[![Health](https://phpackages.com/badges/i-saad-salman-nova-map-address/health.svg)](https://phpackages.com/packages/i-saad-salman-nova-map-address)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[naif/map_address

A Laravel Nova field to place a marker on map to get coordinates then it reverse geocoding the coordinates to get a street address

134.2k](/packages/naif-map-address)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)[mostafaznv/nova-map-field

Map Field for Laravel Nova

4693.4k](/packages/mostafaznv-nova-map-field)[genealabs/laravel-changelog

A Laravel Nova tool.

55250.7k](/packages/genealabs-laravel-changelog)[gkermer/nova-text-auto-complete

A Laravel Nova text autocomplete field.

22115.5k1](/packages/gkermer-nova-text-auto-complete)

PHPackages © 2026

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