Need help with USPS-php-api?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

VinceG
175 Stars 111 Forks 630 Commits 3 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 30,877
CSS
Algolia
Webpack
carouse...
563 commits
# 161,746
Laravel
PHP
crud-ge...
11 commits
# 126,439
PHP
rcpp
travis-...
Symfony
6 commits
# 672,974
PHP
5 commits
# 711,324
PHP
3 commits
# 743,777
PHP
2 commits
# 183,571
macOS
Bash
C++
cpluspl...
1 commit
# 505,691
PHP
HTML
1 commit
# 767,368
PHP
1 commit
# 755,164
PHP
craft3
HTML
Shell
1 commit
# 230,966
PHP
TypeScr...
custome...
client-...
1 commit
# 48,354
Bootstr...
dropbox
jonschl...
Markdow...
1 commit
# 767,369
PHP
1 commit
# 481,899
C++
PHP
1 commit

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 >= 5.4 including PHP 7
  • Configured with the cURL extension
  • USPS API Username

Install

composer require vinceg/usps-php-api

Package

https://packagist.org/packages/vinceg/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

License

The MIT License

Copyright (c) 2012

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.