PHPackages                             drapor/laravel-addresses - 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. drapor/laravel-addresses

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

drapor/laravel-addresses
========================

Helps you build multiple address storage like Amazon and PayPal have

0.2.2(11y ago)1511MITPHPPHP &gt;=5.3.0

Since Feb 13Pushed 10y agoCompare

[ Source](https://github.com/mikenolimits/laravel-addresses)[ Packagist](https://packagist.org/packages/drapor/laravel-addresses)[ Docs](https://smartersoftware.net/packages/laravel-address-book)[ RSS](/packages/drapor-laravel-addresses/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Laravel Addresses Plugin
========================

[](#laravel-addresses-plugin)

Link a list of addresses to a user. Allows to flag address as primary, billing, or shipping. Users have many addresses, but only one primary or shipping or billing.

Sample views and controller are included. I don't recoment you use them directly, butjust use them as example code to copy and paste.

#### Composer Install

[](#composer-install)

```
"require": {
    "rtconner/laravel-addresses": "dev-master"
}

```

#### Run the migrations

[](#run-the-migrations)

```
php artisan migrate --package=rtconner/laravel-addresses

```

#### Install the Service Provider

[](#install-the-service-provider)

```
'providers' => array(
	'Conner\Addresses\AddressesServiceProvider',
),

```

#### Sample Usage

[](#sample-usage)

```
\Addresses::getAll($user->id); // get all users

if(Addresses::getValidator()->fails()) { } // validate before saving

$address = Addresses::createAddress(\Input::all()); // this does not auto-validate

$address = Addresses::updateAddress(\Input::all()); // this does not auto-validate

Addresses::deleteAddress($address);

Addresses::setPrimary($address); // set address as primary (and unset the others)

Addresses::getPrimary();

Addresses::getShipping($userId);

Addresses::getBilling();

```

#### View Templates

[](#view-templates)

```
@include('addresses::fields')

@foreach($addresses as $address)
	@include('addresses::view', compact('separator'=>''))
@endforeach

```

You can make call direcly on the Conner\\Addresses\\Address model if you want. But you just have to be careful when reading/writing. The methods provided on \\Addresses handle checks against the currently logged in user and making sure there are no duplicate primary addresses.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

3

Last Release

4269d ago

PHP version history (2 changes)0.2.0PHP &gt;=5.4.0

0.2.1PHP &gt;=5.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/51e0e53c0b5b6c8c533cea95bd69802fdd329f0d17ce9edaaf9d86f7319add2d?d=identicon)[dondraper\_](/maintainers/dondraper_)

---

Top Contributors

[![rtconner](https://avatars.githubusercontent.com/u/334533?v=4)](https://github.com/rtconner "rtconner (33 commits)")

---

Tags

laraveladdressaddresses

### Embed Badge

![Health badge](/badges/drapor-laravel-addresses/health.svg)

```
[![Health](https://phpackages.com/badges/drapor-laravel-addresses/health.svg)](https://phpackages.com/packages/drapor-laravel-addresses)
```

###  Alternatives

[lecturize/laravel-addresses

Simple address and contact management for Laravel.

20164.1k](/packages/lecturize-laravel-addresses)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[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)
