PHPackages                             naif/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. naif/map\_address

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

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

v1.4(7y ago)134.2k4[2 issues](https://github.com/naifalshaye/nova-map-address/issues)MITVuePHP &gt;=7.1.0

Since Aug 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/naifalshaye/nova-map-address)[ Packagist](https://packagist.org/packages/naif/map_address)[ RSS](/packages/naif-map-address/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (1)Versions (6)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 naif/map_address
```

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

[](#configuration)

Publish the package config file:

```
php artisan vendor:publish --provider="Naif\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=ar

```

*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/User.php resource:

```
MapAddress::make('address'),

//You can set the initial map location. By default (United States)
 MapAddress::make('address')
    ->initLocation(40.730610,-98.935242),

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

[![Package screenshot](https://camo.githubusercontent.com/8ac95c0cfe415721adf8e5456a428354848215526472df06397d705759690aa1/68747470733a2f2f7062732e7477696d672e636f6d2f6d656469612f446c79454b6d61577341496955645a2e6a7067)](https://camo.githubusercontent.com/8ac95c0cfe415721adf8e5456a428354848215526472df06397d705759690aa1/68747470733a2f2f7062732e7477696d672e636f6d2f6d656469612f446c79454b6d61577341496955645a2e6a7067)

[![Package screenshot](https://camo.githubusercontent.com/ce842030609d260fc587f65206e1c303db5751d0e9e6f724cac12823e9e79f14/68747470733a2f2f7062732e7477696d672e636f6d2f6d656469612f446c79454c3041573041553055514c2e6a7067)](https://camo.githubusercontent.com/ce842030609d260fc587f65206e1c303db5751d0e9e6f724cac12823e9e79f14/68747470733a2f2f7062732e7477696d672e636f6d2f6d656469612f446c79454c3041573041553055514c2e6a7067)

Support:
--------

[](#support)

License
-------

[](#license)

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

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 86.7% 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 ~33 days

Total

5

Last Release

2723d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/323a5cbb1087ce4edc9deec40b03736b6d43a3ca205615b346108ed57f58e50e?d=identicon)[naifdev](/maintainers/naifdev)

---

Top Contributors

[![naifalshaye](https://avatars.githubusercontent.com/u/23122187?v=4)](https://github.com/naifalshaye "naifalshaye (13 commits)")[![MammutAlex](https://avatars.githubusercontent.com/u/10599196?v=4)](https://github.com/MammutAlex "MammutAlex (1 commits)")[![sixlive](https://avatars.githubusercontent.com/u/5108034?v=4)](https://github.com/sixlive "sixlive (1 commits)")

---

Tags

geocodinglaravellaravenovamapreverse-geocodinglaravelgeocodingaddressmapgeonova

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[toin0u/geocoder-laravel

Geocoder Service Provider for Laravel

7475.3M15](/packages/toin0u-geocoder-laravel)[mostafaznv/nova-map-field

Map Field for Laravel Nova

46101.8k](/packages/mostafaznv-nova-map-field)[hibit-dev/geodetect

Automatically detect user's geo data based on their IP address

2321.5k](/packages/hibit-dev-geodetect)

PHPackages © 2026

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