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

Laravel Usps Laravel Package

johnpaulmedina/laravel-usps

Laravel-USPS is a Laravel integration for the USPS API that makes it easy to fetch shipping rates, track packages, validate addresses, and generate labels. It wraps USPS web tools in a clean, config-driven package with simple methods you can call from anywhere in your app.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for address and shipping-rate infrastructure. The package covers the three things teams most often hand-roll against USPS: address validation, city/state lookup, and ZIP lookup, plus a ShippingOptions layer for rate/option retrieval. That maps directly to "do we write our own USPS client?" — this is a credible off-the-shelf answer for Laravel shops.
  • Checkout and fulfillment roadmap. Address validation (normalize/verify before order submission) and city/state/ZIP resolution are upstream dependencies for tax calculation, shipping estimates, and delivery-promise features. Adding or hardening these is a low-risk enabler for later roadmap items.
  • Compliance and security posture. A release that closes 10 security-audit findings is a signal for PMs making vendor-risk decisions: the maintainer runs security review, not just feature work. Relevant if the package touches customer PII (it does — addresses).
  • Documentation as a delivery-cost lever. New README/GitHub Pages content (DPV explanation table, USPS API doc links, response examples for every endpoint) materially shortens onboarding — affects estimated integration effort in planning and reduces support load post-launch.
  • Maintenance budget expectations. The release is dominated by PHPStan tightening (level 5) and CI action upgrades (Node.js 24). This is a package under active static-analysis discipline — a positive input when estimating long-term cost of ownership vs. an internal build.

When to Consider This Package

Adopt when:

  • You are on a supported Laravel/PHP version and need USPS address validation, city/state, or ZIP lookup — the core features are documented with response examples, so integration scoping is straightforward.
  • Address data quality is a product requirement (fraud reduction, failed-delivery reduction, tax accuracy), not a nice-to-have.
  • You want a maintained client rather than owning USPS API quirks (DPV semantics, response formats) internally.
  • Security/compliance review is a gate in your process — the audit-driven fix set gives you something concrete to point at.
  • You need shipping options/rates alongside address services; ShippingOptions indicates the package covers more than lookup.

Look elsewhere when:

  • You need multi-carrier abstraction (UPS/FedEx/DHL). This is USPS-scoped; a carrier-agnostic layer is a different buy.
  • You need managed infrastructure — SLA-backed uptime, caching, retries, rate-limit handling as a service. A library makes you responsible for resilience.
  • You are pinned to an older PHP/Laravel and cannot take a v13-line release.
  • Your volume or latency profile requires local address databases rather than per-request API calls.
  • Compliance requires a vendor with contractual security attestations; an open-source maintainer's audit remediation is evidence of good practice, not a substitute for a DPA.

How to Pitch It (Stakeholders)

To executives: This is a mature, actively maintained Laravel package that gives us USPS address validation, city/state and ZIP lookup, and shipping options — capabilities we would otherwise build and maintain ourselves. The latest release is a security-hardening and documentation release: 10 audit findings resolved, and full response examples published for every endpoint. No breaking changes and no deprecations, so adopting or upgrading carries low delivery risk. Net effect: lower build cost, lower ongoing maintenance cost, and a better security story than an in-house client.

To engineering: v13.4.1 is a maintenance release — treat it as a safe bump. Security audit closed 10 issues; docs now include a DPV explanation table and USPS API reference links with example responses for address validation, city/state, and ZIP lookup, which should cut integration and debugging time. Static analysis is pinned at PHPStan level 5 with tightened types and facade annotations, and CI actions moved to v5/v8 for Node.js 24 — expect the stricter typing to surface a handful of isset/nullable warnings in our own consuming code. No API surface changes, no migrations required. Budget roughly a half-day for the bump plus test pass; the docs make the initial integration spike significantly cheaper than the last estimate.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings