Skip to content

USPS PHP based API address verify, city lookup, service delivery calculator, track confirm, zip code lookup

License

Notifications You must be signed in to change notification settings

shivammathur/USPS-php-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USPS PHP API

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.2
  • Configured with the dom and cURL extensions
  • USPS API Username

Install

composer require shivammathur/usps-php-api

Package

https://packagist.org/packages/shivammathur/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 http://vadimg.com Shivam Mathur http://shivammathur.com

License

This project is licensed under the MIT License.

About

USPS PHP based API address verify, city lookup, service delivery calculator, track confirm, zip code lookup

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages

  • PHP 100.0%