UPS REST API integration for Laravel shipping rates, label generation, tracking, shipment voids, returns, and address validation

Maintainers

Package info

gitlab.com/laravelshipping/ups

Issues

pkg:composer/laravelshipping/ups

Transparency log

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

v1.0.0 2026-05-02 00:43 UTC

This package is auto-updated.

Last update: 2026-07-03 00:46:23 UTC


README

Latest Version on Packagist PHP Version Laravel License

Free MIT-licensed UPS carrier package for Laravel. Provides UPS REST API support for shipping rates, label generation, package tracking, shipment voids, return labels, and address validation.

Use this package to add UPS shipping to a Laravel application without building OAuth token caching, request DTOs, rate parsing, label handling, or tracking normalization from scratch.

Requirements

  • PHP 8.2+
  • Laravel 10, 11, or 12
  • laravelshipping/common

Installation

composer require laravelshipping/ups

Publish Configuration

php artisan vendor:publish --tag=laravelshipping-ups-config

Supported Features

FeatureSupported
Rate shoppingYes
Label generationYes
TrackingYes
Void shipmentYes
Address validationYes
Return labelsYes
WebhooksYes

Works With

  • laravelshipping/common for shared shipping DTOs, contracts, and value objects.
  • Laravel Shipping commercial packages for FedEx, USPS, DHL, multi-carrier rate shopping, and 3D box packing from laravelshipping.com.

Authentication

UPS uses OAuth 2.0 client credentials. Tokens are cached automatically — no manual token management needed.

UPS_CLIENT_ID=
UPS_CLIENT_SECRET=
UPS_ACCOUNT_NUMBER=
UPS_SANDBOX=false

Documentation

Full documentation at gitlab.com/laravelshipping/docs/-/tree/main/ups.

License

MIT — see LICENSE.