PHPackages                             paperscissorsandglue/usps-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. [HTTP &amp; Networking](/categories/http)
4. /
5. paperscissorsandglue/usps-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

paperscissorsandglue/usps-api
=============================

PHP USPS API integration on PHP based on original library by Vincent Gabriel.

v0.1.1(5y ago)0606MITPHPPHP ^7.4|^8.0CI failing

Since Dec 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/paperscissors/usps-api-integration)[ Packagist](https://packagist.org/packages/paperscissorsandglue/usps-api)[ Docs](https://github.com/paperscissorsandglue/USPS-API)[ Fund](https://spatie.be/open-source/support-us)[ GitHub Sponsors](https://github.com/spatie)[ RSS](/packages/paperscissorsandglue-usps-api/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (3)Used By (0)

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

[](#php-usps-api-integration)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5b7eaac8b0819ba884dde7dbf8466b35c971154b411efb937b00bfe538e8754a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706170657273636973736f7273616e64676c75652f555350532d4150492e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/paperscissorsandglue/USPS-API)[![GitHub Tests Action Status](https://camo.githubusercontent.com/0d2b413cbe1d43149a152a8e3cfda4b06ac23eb72b4385357ff0fe262775b1d3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f706170657273636973736f7273616e64676c75652f555350532d4150492f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/paperscissorsandglue/USPS-API/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/1faca7d589eac9e9e1cedca23b72f95235409c0816385b81a9360548f3823a1c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706170657273636973736f7273616e64676c75652f555350532d4150492e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/paperscissorsandglue/USPS-API)

Based on original PHP library by Vincent Gabriel, modernized in Spatie package template for best practices and posterity. Currently only the rate API classes are ported. Documentation and further integration ASAP.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require paperscissorsandglue/usps-api-integration
```

Usage
-----

[](#usage)

```
$usps = new USPSApi("my api key");
$rate = $usps->rate();
//TODO: add packages, get estimate to documentation
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Tom Filepp](https://github.com/paperscissors)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

2025d ago

PHP version history (2 changes)v0.1.0PHP ^7.3|^8.0

v0.1.1PHP ^7.4|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15576?v=4)[Tom Filepp](/maintainers/paperscissors)[@paperscissors](https://github.com/paperscissors)

---

Top Contributors

[![paperscissors](https://avatars.githubusercontent.com/u/15576?v=4)](https://github.com/paperscissors "paperscissors (14 commits)")

---

Tags

usps apipaperscissorsandglue

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M91](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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