---
title: "Attach Addresses to Any Eloquent Model with Laravel Addressable"
url: https://daily.dev/posts/attach-addresses-to-any-eloquent-model-with-laravel-addressable-phcnhwulm
source_url: https://laravel-news.com/attach-addresses-to-any-eloquent-model-with-laravel-addressable
type: article
source: "Laravel News"
published: 2026-05-11T13:19:39.646Z
updated: 2026-05-11T13:20:10.386Z
tags: ["php", "laravel"]
reading_time: 3
upvotes: 62
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Attach Addresses to Any Eloquent Model with Laravel Addressable

**[Laravel News](https://daily.dev/sources/ln)** · 3 min read · 62 upvotes · 0 comments

## Summary

Laravel Addressable is a package that adds polymorphic address management to any Eloquent model via a single migration and trait. It supports general-purpose, billing, and shipping address types with dedicated traits and scoped helpers. Features include a JSON meta column for arbitrary extra data, a configurable display_address accessor, primary address toggling with events, and geospatial support using a spatial POINT column for radius and nearest-neighbor queries (requires MySQL 8+, MariaDB 10.5+, or PostgreSQL with PostGIS).

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://laravel-news.com/attach-addresses-to-any-eloquent-model-with-laravel-addressable>

## Similar posts on daily.dev

- [Mask Sensitive Eloquent Attributes on Retrieval in Laravel](https://daily.dev/posts/mask-sensitive-eloquent-attributes-on-retrieval-in-laravel-hsgc11gdo) · Laravel News · 0 upvotes · 0 comments
- [Many-to-Many Polymorphic Relationships](https://daily.dev/posts/many-to-many-polymorphic-relationships-po58cqxvb) · Larablog · 0 upvotes · 0 comments

---

Tags: [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel)

[View this post on daily.dev](https://daily.dev/posts/attach-addresses-to-any-eloquent-model-with-laravel-addressable-phcnhwulm)
