PHPackages                             wamesk/laravel-nova-address-field - 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. wamesk/laravel-nova-address-field

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

wamesk/laravel-nova-address-field
=================================

Laravel Nova Address field

5.1.0(1w ago)21.2k↓62.5%proprietaryVue

Since May 3Pushed 1w ago1 watchersCompare

[ Source](https://github.com/wamesk/laravel-nova-address-field)[ Packagist](https://packagist.org/packages/wamesk/laravel-nova-address-field)[ RSS](/packages/wamesk-laravel-nova-address-field/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (6)Versions (42)Used By (0)

Laravel Nova Address field
==========================

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

- Save address in one JSON database column
- Personal or business address
- Google Maps Autocomplete

Requirements
------------

[](#requirements)

- `laravel/nova: ^5.0`

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

[](#installation)

```
composer require wamesk/laravel-nova-address-field
```

Usage
-----

[](#usage)

```
Address::make(__('customer.field.address'), 'address')
```

### Settings

[](#settings)

ParameterDescription`countryList(['sk' => 'Slovakia'])`Custom country list`onlyCompany()`Show only company address`withoutCompany()`Show only personal address`withoutAddressSuggestions()`Without address suggestions if set Google Maps API key`defaultShowCompany()`Show default company tab`withoutName()`Without personal user name`withPhone()`Show phone input`withGPS()`Show latitude and longitude inputs```
Address::make(__('customer.field.address'), 'address')
    ->withoutCompany()
    ->withoutName()
    ->withGPS()
```

### Cast

[](#cast)

Setting casts in model

```
use Wame\Address\Casts\AddressCast;

protected function casts(): array
{
    return [
        'address' => AddressCast::class,
    ];
}
```

In one model, there can be more address columns

```
protected function casts(): array
{
    return [
        'billing_address' => AddressCast::class,
        'shipping_address' => AddressCast::class,
    ];
}
```

### Attributes

[](#attributes)

```
$this->address->firstName; // John
$this->address->lastName; // Doe
$this->address->getName(); // John Doe
$this->address->street; // Baker street 3
$this->address->zipCode; // 08501
$this->address->city; // New York
$this->address->country; // SK
$this->address->getCountryTitle(); // Slovakia
$this->address->getCountryData();

$this->billing_address->isCompany; // true|false
$this->billing_address->companyName; // Apple Inc.
$this->billing_address->getName(); // Apple Inc.
$this->billing_address->businessId;
$this->billing_address->taxId;
$this->billing_address->vatId;
$this->billing_address->vatPayer; // true|false

$this->addess->phone;

$this->addess->latitude;
$this->addess->longitude;

$this->address->isComplete(); // true|false

$this->address->toArray();
$this->address->toJson();
```

Repeatable field
----------------

[](#repeatable-field)

Package is also compatible with [Nova repeatable field](https://nova.laravel.com/docs/4.0/resources/repeater-fields.html)

```
Repeater::make('Address', 'address')
    ->repeatables([\Wame\Address\Fields\AddressRepeater::make()])
    ->asJson()
```

Google address autocomplete
---------------------------

[](#google-address-autocomplete)

If you add the Google Maps API key from https://console.cloud.google.com/ to the `.env`, you can search for addresses

```
GOOGLE_MAPS_API_KEY="AIza..."
```

It also stores the place coordinates `latitude` and `longitude`.

Helper
------

[](#helper)

Helpers for preparing a fake address, returned AddressCast

```
\Wame\Address\Utils\FakeAddress::make();
\Wame\Address\Utils\FakeCompanyAddress::make();

\Wame\Address\Utils\FakeAddress::make(['country' => 'SK']);
\Wame\Address\Utils\FakeAddress::make(withName: false);

\Wame\Address\Utils\FakeAddress::make()->toArray();
\Wame\Address\Utils\FakeAddress::make()->toJson();
```

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance98

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 56.1% 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 ~19 days

Recently: every ~6 days

Total

41

Last Release

12d ago

Major Versions

1.x-dev → 4.1.22025-07-15

4.1.7 → 5.0.32025-10-08

4.1.8 → 5.0.42026-01-20

4.1.9 → 5.0.52026-06-11

4.x-dev → 5.1.02026-06-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bf6ece61ae07942df38ce88eb4053d4176c6ab0bf803191953961023f25fc70?d=identicon)[WAME](/maintainers/WAME)

---

Top Contributors

[![stanislav-cervenak](https://avatars.githubusercontent.com/u/6931349?v=4)](https://github.com/stanislav-cervenak "stanislav-cervenak (23 commits)")[![adrianzofcin](https://avatars.githubusercontent.com/u/75702986?v=4)](https://github.com/adrianzofcin "adrianzofcin (12 commits)")[![wamesro](https://avatars.githubusercontent.com/u/5340873?v=4)](https://github.com/wamesro "wamesro (6 commits)")

### Embed Badge

![Health badge](/badges/wamesk-laravel-nova-address-field/health.svg)

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

###  Alternatives

[ebess/advanced-nova-media-library

Laravel Nova tools for managing the Spatie media library.

6163.5M22](/packages/ebess-advanced-nova-media-library)[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2852.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2862.1M9](/packages/outl1ne-nova-sortable)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

43311.2k](/packages/venturedrake-laravel-crm)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[dougsisk/laravel-country-state

Country &amp; state helper for Laravel.

1731.9M](/packages/dougsisk-laravel-country-state)

PHPackages © 2026

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