rt3me/usps-php-api

PHP wrapper for USPS APIs

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 124

pkg:composer/rt3me/usps-php-api

v2.0.0-alpha.1 2025-08-13 19:06 UTC

This package is auto-updated.

Last update: 2025-12-14 15:04:07 UTC


README

This wrapper allows you to perform some basic calls to the USPS api. Some of the features currently supported are:

  • Rate Calculator (Both domestic and international)
  • Zip code lookup by address
  • City/State lookup by zip code
  • Verify address
  • Create Priority Shipping Labels
  • Create Open & Distribute Shipping Labels
  • Create International Shipping Labels (Express, Priority, First Class)
  • Service Delivery Calculator
  • Confirm Tracking

Requirements

  • PHP >= 8.4
  • Configured with the dom and cURL extensions
  • USPS API Username

Install

composer require rt3me/usps-php-api

Package

https://packagist.org/packages/rt3me/usps-php-api

Examples

Please check the 'demos' directory for usage examples on the various types of api calls and actions you can perform.

Authors

Vincent Gabriel https://vadimg.com Shivam Mathur https://shivammathur.com Robert Turner https://codewithrob.dev

License

This project is licensed under the MIT License.