PHPackages                             vinceg/usps-php-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. vinceg/usps-php-api

AbandonedArchivedLibrary[API Development](/categories/api)

vinceg/usps-php-api
===================

PHP wrapper for USPS Web Tools API

v1.1.0(5y ago)183681.8k↓13.3%123[1 PRs](https://github.com/VinceG/USPS-php-api/pulls)3MITPHPPHP &gt;=5.4

Since Sep 8Pushed 4y ago26 watchersCompare

[ Source](https://github.com/VinceG/USPS-php-api)[ Packagist](https://packagist.org/packages/vinceg/usps-php-api)[ RSS](/packages/vinceg-usps-php-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)DependenciesVersions (7)Used By (3)

USPS PHP API
============

[](#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 &amp; Distribute Shipping Labels
- Create International Shipping Labels (Express, Priority, First Class)
- Service Delivery Calculator
- Confirm Tracking

Requirements
============

[](#requirements)

- PHP &gt;= 5.4 including PHP 7
- Configured with the cURL extension
- USPS API Username

Install
=======

[](#install)

`composer require vinceg/usps-php-api`

Package
=======

[](#package)

Examples
========

[](#examples)

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

Authors
=======

[](#authors)

Vincent Gabriel

License
=======

[](#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.

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity56

Moderate usage in the ecosystem

Community33

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 94.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~329 days

Recently: every ~188 days

Total

6

Last Release

1891d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b56873377787432f58849356e95d371643f622e3d4701bf87a99ef2860a24edb?d=identicon)[VinceG](/maintainers/VinceG)

---

Top Contributors

[![VinceG](https://avatars.githubusercontent.com/u/195199?v=4)](https://github.com/VinceG "VinceG (581 commits)")[![alexanderreiff](https://avatars.githubusercontent.com/u/1593375?v=4)](https://github.com/alexanderreiff "alexanderreiff (11 commits)")[![greggles](https://avatars.githubusercontent.com/u/392568?v=4)](https://github.com/greggles "greggles (6 commits)")[![kytart](https://avatars.githubusercontent.com/u/5610501?v=4)](https://github.com/kytart "kytart (5 commits)")[![vincentavn](https://avatars.githubusercontent.com/u/16692465?v=4)](https://github.com/vincentavn "vincentavn (2 commits)")[![Riz-waan](https://avatars.githubusercontent.com/u/24848114?v=4)](https://github.com/Riz-waan "Riz-waan (1 commits)")[![sethphillips](https://avatars.githubusercontent.com/u/5841416?v=4)](https://github.com/sethphillips "sethphillips (1 commits)")[![wesen](https://avatars.githubusercontent.com/u/128441?v=4)](https://github.com/wesen "wesen (1 commits)")[![bjornmann](https://avatars.githubusercontent.com/u/6225642?v=4)](https://github.com/bjornmann "bjornmann (1 commits)")[![curtisgibby](https://avatars.githubusercontent.com/u/1086964?v=4)](https://github.com/curtisgibby "curtisgibby (1 commits)")[![davidsalazar](https://avatars.githubusercontent.com/u/14309?v=4)](https://github.com/davidsalazar "davidsalazar (1 commits)")[![nitinsoni9235](https://avatars.githubusercontent.com/u/1870541?v=4)](https://github.com/nitinsoni9235 "nitinsoni9235 (1 commits)")

---

Tags

apiusps

### Embed Badge

![Health badge](/badges/vinceg-usps-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/vinceg-usps-php-api/health.svg)](https://phpackages.com/packages/vinceg-usps-php-api)
```

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
