PHPackages                             nixony86/laravel-ups-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. [Framework](/categories/framework)
4. /
5. nixony86/laravel-ups-api

ActiveLibrary[Framework](/categories/framework)

nixony86/laravel-ups-api
========================

A small Laravel's wrapper for the PHP UPS API library

1.0.11(7y ago)033MITPHPPHP &gt;=5.5.9

Since Mar 18Pushed 6y agoCompare

[ Source](https://github.com/nixony/Laravel-UPS-Api)[ Packagist](https://packagist.org/packages/nixony86/laravel-ups-api)[ RSS](/packages/nixony86-laravel-ups-api/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (6)Versions (13)Used By (0)

Laravel UPS Api
===============

[](#laravel-ups-api)

For Laravel 5.5 + or 6
----------------------

[](#for-laravel-55--or-6)

[![Build Status](https://camo.githubusercontent.com/209ff6d307b3c68c162519b4471d2fc37160f69287e5bb6d883b7cf7689f9dde/68747470733a2f2f7472617669732d63692e6f72672f70746f6e6465726561752f4c61726176656c2d5550532d4170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ptondereau/Laravel-UPS-Api)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/cbd3c82cba11498b8328e1b1701d3f59182679e55ed9c20614bec838102224f8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70746f6e6465726561752f4c61726176656c2d5550532d4170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ptondereau/Laravel-UPS-Api/?branch=master)[![Test Coverage](https://camo.githubusercontent.com/c90df83c1c7833e2a2ed078ebb23d0128d45fb29ff8ecd2bd8bf3f6395dcd65c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f70746f6e6465726561752f4c61726176656c2d5550532d4170692f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/ptondereau/Laravel-UPS-Api/coverage)[![Code Climate](https://camo.githubusercontent.com/fa7b37e3a3308ee8228b93fbb9bcbc825ea37f65c371111025a6598e75b398ec/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f70746f6e6465726561752f4c61726176656c2d5550532d4170692f6261646765732f6770612e737667)](https://codeclimate.com/github/ptondereau/Laravel-UPS-Api)[![StyleCI](https://camo.githubusercontent.com/d8fd8c11fa59f52a12c56919c5b079495245b1d5fca358d1ae98c21a036a2a19/68747470733a2f2f7374796c6563692e696f2f7265706f732f35343135363137312f736869656c64)](https://styleci.io/repos/54156171)[![Latest Stable Version](https://camo.githubusercontent.com/a51a324b936bbd7d8007f550cf9a1d5200eb8ec72d1f9d7140a14b384084a0ac/68747470733a2f2f706f7365722e707567782e6f72672f70746f6e6465726561752f6c61726176656c2d7570732d6170692f762f737461626c65)](https://packagist.org/packages/Ptondereau/laravel-ups-api)[![Latest Unstable Version](https://camo.githubusercontent.com/8a38583ccb97bd729673c216c40ad2369841ce4b700b248e4e30093833b2b28b/68747470733a2f2f706f7365722e707567782e6f72672f70746f6e6465726561752f6c61726176656c2d7570732d6170692f762f756e737461626c65)](https://packagist.org/packages/Ptondereau/laravel-ups-api)[![License](https://camo.githubusercontent.com/b465fcdc5c0a42134e9fcf89f9edfa7e89469722554c9e9192667360e1c5e04e/68747470733a2f2f706f7365722e707567782e6f72672f70746f6e6465726561752f6c61726176656c2d7570732d6170692f6c6963656e7365)](https://packagist.org/packages/Ptondereau/laravel-ups-api)

Laravel UPS Api was created by, and is maintained by [Pierre Tondereau](https://github.com/ptondereau), and PHP UPS Api was created by, and is maintained by [Gabriel Bull](https://github.com/gabrielbull) at [PHP UPS API](https://github.com/gabrielbull/php-ups-api).

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

[](#installation)

Either [PHP](https://php.net) 5.5+ or [HHVM](http://hhvm.com) 3.6+ are required.

To get the latest version of Laravel UPS Api, simply require the project using [Composer](https://getcomposer.org):

```
$ composer require ptondereau/laravel-ups-api
```

Instead, you may of course manually update your require block and run `composer update` if you so choose:

```
{
    "require": {
        "ptondereau/laravel-ups-api": "^1.0"
    }
}
```

Once Laravel UPS Api is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.

- `'Ptondereau\LaravelUpsApi\UpsApiServiceProvider'`

You can register the all or some Ups facade in the `aliases` key of your `config/app.php` file if you like.

- `'UPSAddressValidator' => 'Ptondereau\LaravelUpsApi\Facades\UpsAddressValidator'`
- `'UPSLocator' => 'Ptondereau\LaravelUpsApi\Facades\UpsLocator'`
- `'UPSQuantumView' => 'Ptondereau\LaravelUpsApi\Facades\UpsQuantumView'`
- `'UPSRate' => 'Ptondereau\LaravelUpsApi\Facades\UpsRate'`
- `'UPSTimeInTransit' => 'Ptondereau\LaravelUpsApi\Facades\UpsTimeInTransit'`
- `'UPSTracking' => 'Ptondereau\LaravelUpsApi\Facades\UpsTracking'`
- `'UPSTradeability' => 'Ptondereau\LaravelUpsApi\Facades\UpsTradeability'`
- `'UPSShipping' => 'Ptondereau\LaravelUpsApi\Facades\UpsShipping'`

Configuration
-------------

[](#configuration)

Laravel UPS Api requires connection configuration.

To get started, you'll need to publish all vendor assets:

```
$ php artisan vendor:publish --provider="Ptondereau\LaravelUpsApi\UpsApiServiceProvider"
```

This will create a `config/ups.php` file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.

You also need to add env variables into your .env with your credentials:

```
UPS_ACCESS_KEY=key
UPS_USER_ID=userId
UPS_PASSWORD=password
UPS_SANDBOX=true

```

Usage
-----

[](#usage)

This package only inject and provide Facades for each class of [PHP UPS API](https://github.com/gabrielbull/php-ups-api). You just have to read its documentation.

##### Further Information

[](#further-information)

There are other classes in this package that are not documented here. This is because they are not intended for public use and are used internally by this package.

Security
--------

[](#security)

If you discover a security vulnerability within this package, please send an e-mail to Pierre Tondereau at . All security vulnerabilities will be promptly addressed.

License
-------

[](#license)

Laravel Ups Api is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 67.7% 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 ~91 days

Recently: every ~174 days

Total

12

Last Release

2696d ago

### Community

Maintainers

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

---

Top Contributors

[![ptondereau](https://avatars.githubusercontent.com/u/4287777?v=4)](https://github.com/ptondereau "ptondereau (21 commits)")[![Rooferz](https://avatars.githubusercontent.com/u/267503386?v=4)](https://github.com/Rooferz "Rooferz (4 commits)")[![nixony](https://avatars.githubusercontent.com/u/3266475?v=4)](https://github.com/nixony "nixony (3 commits)")[![ivan-mosiev-altexsoft](https://avatars.githubusercontent.com/u/768022?v=4)](https://github.com/ivan-mosiev-altexsoft "ivan-mosiev-altexsoft (1 commits)")[![NathanGiesbrecht](https://avatars.githubusercontent.com/u/1516627?v=4)](https://github.com/NathanGiesbrecht "NathanGiesbrecht (1 commits)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (1 commits)")

---

Tags

frameworklaravelupsLaravel UPS ApiPierre TondereauPtondereau

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nixony86-laravel-ups-api/health.svg)

```
[![Health](https://phpackages.com/badges/nixony86-laravel-ups-api/health.svg)](https://phpackages.com/packages/nixony86-laravel-ups-api)
```

###  Alternatives

[ptondereau/laravel-ups-api

A small Laravel's wrapper for the PHP UPS API library

34140.5k](/packages/ptondereau-laravel-ups-api)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[rebing/graphql-laravel

Laravel wrapper for PHP GraphQL

2.2k7.1M26](/packages/rebing-graphql-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[graham-campbell/markdown

Markdown Is A CommonMark Wrapper For Laravel

1.3k7.1M64](/packages/graham-campbell-markdown)[graham-campbell/manager

Manager Provides Some Manager Functionality For Laravel

39221.1M134](/packages/graham-campbell-manager)

PHPackages © 2026

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