Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Addressing Laravel Package

markup/addressing

Address management for Laravel: store, format, and validate postal addresses with country and subdivision data, polymorphic address models, and helpers for clean, consistent address handling across your application.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • International expansion / localization roadmaps. Address display is one of the first things that breaks when you enter a new market: Japan wants postcode-first and large-to-small ordering, the UK wants postcode on its own line, the US wants state abbreviations, Germany wants the number after the street. This package gives you a formatting layer so checkout, invoices, shipping labels, and account pages don't hardcode a single country's conventions.
  • Build vs. buy vs. dependency for a "boring but legally visible" feature. Addresses appear on invoices and tax documents where incorrect formatting is a compliance and support-ticket risk, not just a UX nit. This is a decision about whether formatting belongs in-house, in a small OSS dependency, or behind a commercial API.
  • Scoping a global addresses epic. Forces the team to separate four concerns that stakeholders habitually bundle: capture (field order and labels), validation, normalization, and rendering. This package only addresses rendering — useful as a wedge to argue for phasing rather than a single "international addresses" mega-ticket.
  • Market prioritization. If you're launching in 2–3 countries, hand-rolled templates plus a country config are usually enough. If you're launching in 15+, a data-driven formatter (and likely a validation vendor) becomes justified. This package is a cheap way to prototype the former before committing to the latter.
  • Use cases where it fits cleanly: invoice and credit-note PDFs, packing slips, carrier label payloads requiring a specific line order, CRM/contact record display, and admin views where data was imported from mixed sources.

When to Consider This Package

Reasonable to evaluate when:

  • You need rendering only — take structured address fields in, get correctly ordered and separated lines out — and validation/autocomplete are handled elsewhere or not needed yet.
  • You want a zero-network, MIT-licensed, dependency-light formatter that runs offline and inside queued jobs without per-request API cost.
  • Your supported country set is small, stable, and already covered by the package's format definitions.
  • You are comfortable treating it as source material rather than a live dependency: vendor or fork it, and own the country templates yourself.

Look elsewhere when:

  • Maintenance risk is disqualifying. Last release April 2019, a single star, and zero dependents are strong signals that there is effectively no user base and no maintenance. Treat adoption as "fork and own," not "depend on."
  • You need validation, normalization, deliverability scoring, or autocomplete — this is a formatting library, and buying those capabilities (or using Google's libaddressinput data / a commercial address vendor) is the realistic path.
  • You expect Laravel-native ergonomics. Despite the markup namespace, plan on writing your own service provider, config publishing, and Blade helpers; budget that glue work explicitly.
  • You need addresses for carrier certification or tax authority acceptance, where the format spec is contractual and must be kept current — a dormant library is the wrong place to hold that obligation.
  • You can satisfy the requirement with a country-keyed config array and a sprintf. For under ~10 markets that is often cheaper than evaluating, testing, and owning a dependency.

How to Pitch It (Stakeholders)

For executives (one paragraph): International address formatting is a small, unglamorous feature that becomes customer-visible the moment we sell into a new country — wrong line order on an invoice or shipping label generates support tickets and, in some markets, compliance questions. This package is a compact MIT-licensed implementation of that formatting logic with no vendor lock-in and no per-transaction cost. It is not a strategic dependency: it has had no releases since 2019 and essentially no adoption, so the honest framing is "useful reference implementation we could fork and own for a few days of engineering," not "platform investment." Recommend a time-boxed spike, not a roadmap line item.

For engineering (the ask): Evaluate it as a starting point for country-specific line ordering and field labels. Concretely: (1) confirm coverage for our target markets, (2) decide fork-and-own vs. copy the format definitions into our own config, (3) add the Laravel wiring ourselves — service provider, config, a AddressFormatter facade or Blade component, (4) keep validation and normalization out of scope so we don't accidentally imply this solves deliverability. Expected effort is small; the real cost is the ongoing ownership of country templates, which we should acknowledge up front rather than discover at the next market launch.

Bottom line: Low cost, low risk, low momentum. Worth a short spike as a design reference for address rendering; do not let it become the reason we defer a proper validation/formatting decision.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource