PHPackages                             devops/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. devops/nova-map-address

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

devops/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

0739Vue

Since Jan 5Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)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

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

[](#installation)

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

```
composer require devops/nova-map-address
```

laravel support
---------------

[](#laravel-support)

this package support laravel v 7 and 8 , older versions of laravel

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

[](#configuration)

Publish the package config file:

```
php artisan vendor:publish --provider="devops\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 .*

Usage:
------

[](#usage)

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

```
use devops\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'),

    // 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)

Credit:
-------

[](#credit)

- Jose Vicente Orts:

Support:
--------

[](#support)

- Jose Vicente Orts:

License
-------

[](#license)

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

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/71b107cbadca8a2c68f71b8b76ac069d7bd4686ba4c1f5bbd42d8b21bb5ba796?d=identicon)[devops](/maintainers/devops)

---

Top Contributors

[![smandev](https://avatars.githubusercontent.com/u/77020160?v=4)](https://github.com/smandev "smandev (3 commits)")

### Embed Badge

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

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

PHPackages © 2026

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