PHPackages                             invoice/nova-amap - 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. invoice/nova-amap

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

invoice/nova-amap
=================

A Laravel Nova field.

1.1(6y ago)279MITVuePHP &gt;=7.1.0

Since May 22Pushed 6y agoCompare

[ Source](https://github.com/ofancn/nova-amap)[ Packagist](https://packagist.org/packages/invoice/nova-amap)[ RSS](/packages/invoice-nova-amap/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

nova-amap
=========

[](#nova-amap)

Laravel Nova高德地图

\#Installation

```
composer require invoice/nova-amap
```

```
use Ofancn\Amap\Amap;

public function fields(Request $request) {
        $location = $request->user()->location;
        return [
            ID::make()->sortable(),
            BelongsTo::make(__('用户'), 'user', User::class)->searchable(),
            Text::make(__('名称'), 'name')->sortable()->rules('required', 'string', 'max:255'),
            Amap::make(__('位置'), 'amap')->initLocation($location->latitude ?? 22.56153, $location->longitude ?? 113.4911)->zoom(12)->rules('required', 'json'),
        ];
}
```

```
{"lat": 22.097868, "lng": 113.536494, "address": "广东省珠海市香洲区横琴镇环岛东路85珠海长隆海洋王国"}
```

[![FormField](./images/novaFormField.png)](./images/novaFormField.png)

[![DetailField](./images/novaDetailField.png)](./images/novaDetailField.png)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

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 ~0 days

Total

2

Last Release

2548d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d8ec175cba785ce9881ae0f15648b88895bed17c6968a58a2ae436996a02bef?d=identicon)[invoice](/maintainers/invoice)

---

Top Contributors

[![ofancn](https://avatars.githubusercontent.com/u/38897378?v=4)](https://github.com/ofancn "ofancn (1 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/invoice-nova-amap/health.svg)

```
[![Health](https://phpackages.com/badges/invoice-nova-amap/health.svg)](https://phpackages.com/packages/invoice-nova-amap)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

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