PHPackages                             senior-web-dev/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. senior-web-dev/usps-php-api

ActiveLibrary[API Development](/categories/api)

senior-web-dev/usps-php-api
===========================

This wrapper allows you to perform some basic calls to the USPS api

140PHP

Since Jan 16Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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)

- Apache 2 Web Server
- PHP 5.x configured with the following extensions:
    - CUrl
- USPS API Username

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

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.1% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e865118573e545f5c98214df2031b2ba2c6e2253acce6f0c5e83dd08b1e1fe6?d=identicon)[senior-web-dev](/maintainers/senior-web-dev)

---

Top Contributors

[![VinceG](https://avatars.githubusercontent.com/u/195199?v=4)](https://github.com/VinceG "VinceG (18 commits)")[![alexbegoon](https://avatars.githubusercontent.com/u/4046572?v=4)](https://github.com/alexbegoon "alexbegoon (4 commits)")[![greggles](https://avatars.githubusercontent.com/u/392568?v=4)](https://github.com/greggles "greggles (4 commits)")[![curtisgibby](https://avatars.githubusercontent.com/u/1086964?v=4)](https://github.com/curtisgibby "curtisgibby (1 commits)")[![nitinsoni9235](https://avatars.githubusercontent.com/u/1870541?v=4)](https://github.com/nitinsoni9235 "nitinsoni9235 (1 commits)")[![wesen](https://avatars.githubusercontent.com/u/128441?v=4)](https://github.com/wesen "wesen (1 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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