PHPackages                             awalhadi/addressable - 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. [Database &amp; ORM](/categories/database)
4. /
5. awalhadi/addressable

ActiveLibrary[Database &amp; ORM](/categories/database)

awalhadi/addressable
====================

A modern, feature-rich Laravel package for managing addresses with geocoding, validation, caching, and spatial operations. Perfect for e-commerce, CRM systems, and any application requiring robust address management.

v3.1.0(8mo ago)6409↑133.3%1MITPHPPHP ^7.4|^8.0|^8.1|^8.2|^8.3|^8.4CI failing

Since Nov 30Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/awalhadi/addressable)[ Packagist](https://packagist.org/packages/awalhadi/addressable)[ RSS](/packages/awalhadi-addressable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (12)Versions (12)Used By (0)

Laravel Addressable Package
===========================

[](#laravel-addressable-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c04a02aee6c69b2da22d846dc14ab63eb0c15579e698f98e2f11c2938c3f226e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6177616c686164692f6164647265737361626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/awalhadi/addressable)[![Total Downloads](https://camo.githubusercontent.com/b935b0d67a61b340fae5561f4fd0243e7e450e239f1b6531be1c563113d2aacc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6177616c686164692f6164647265737361626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/awalhadi/addressable)[![License](https://camo.githubusercontent.com/97dcdbf9fd69181293b1bb7a941ec5e727a1764ebeeb4b54a0b75279e1f89215/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6177616c686164692f6164647265737361626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/awalhadi/addressable)[![PHP Version](https://camo.githubusercontent.com/7f14e63e3fc19859201f145ea84ae0408b2ed6254531de5fa4c56344a352ea57/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6177616c686164692f6164647265737361626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/awalhadi/addressable)

A modern, feature-rich Laravel package for managing addresses with geocoding, validation, caching, and spatial operations. Perfect for e-commerce, CRM systems, and any application requiring robust address management.

✨ Features
----------

[](#-features)

- **🔗 Polymorphic Relationships** - Attach addresses to any model
- **🌍 Geocoding Support** - Google Maps, OpenStreetMap, HERE APIs
- **✅ Address Validation** - Postal codes, phone numbers, email validation
- **🗺️ Spatial Operations** - Distance calculations, geofencing, bounding boxes
- **⚡ Smart Caching** - Multi-level caching for performance
- **🔒 Security Features** - Data masking, GDPR compliance, encryption
- **📊 Bulk Operations** - Efficient mass address management
- **🎯 Multiple Address Types** - Home, work, billing, shipping addresses
- **📱 Mobile Optimized** - Responsive design considerations
- **🧪 Comprehensive Testing** - 100% test coverage with Pest

📋 Requirements
--------------

[](#-requirements)

- **PHP**: 7.4, 8.0, 8.1, 8.2, 8.3, 8.4+
- **Laravel**: 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0+
- **Database**: MySQL 5.7+, PostgreSQL 10+, SQLite 3.8+

🚀 Installation
--------------

[](#-installation)

### 1. Install via Composer

[](#1-install-via-composer)

```
composer require awalhadi/addressable
```

### 2. Publish Configuration (Optional)

[](#2-publish-configuration-optional)

```
php artisan vendor:publish --provider="Awalhadi\Addressable\Providers\AddressableServiceProvider"
```

### 3. Run Migrations

[](#3-run-migrations)

```
php artisan migrate
```

🎯 Quick Start
-------------

[](#-quick-start)

### 1. Add Trait to Your Model

[](#1-add-trait-to-your-model)

```
