PHPackages                             farmto/shippo-laravel - 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. farmto/shippo-laravel

ActiveLibrary[API Development](/categories/api)

farmto/shippo-laravel
=====================

Laravel integration for Shippo Api

v1.18.10(11mo ago)11231MITPHPPHP ^8.0

Since May 21Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/eaymon/shippo_laravel)[ Packagist](https://packagist.org/packages/farmto/shippo-laravel)[ RSS](/packages/farmto-shippo-laravel/feed)WikiDiscussions master Synced today

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

FarmToYou Shippo Carrier for Laravel
====================================

[](#farmtoyou-shippo-carrier-for-laravel)

A Laravel package that integrates the [Shippo API](https://goshippo.com/) into your Laravel application for easy shipping label generation, tracking, and carrier management.

[![Latest Version on Packagist](https://camo.githubusercontent.com/1d91e92e7bdec66acb84838efbd80dc213826fb9f68816fc3250e53105ee337a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4661726d546f596f752f73686970706f2d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/FarmToYou/shippo-laravel)[![Total Downloads](https://camo.githubusercontent.com/ff721a917ac5c021c0118131920c0c1c88e623a4912e51d5633d53641591ce60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4661726d546f596f752f73686970706f2d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/FarmToYou/shippo-laravel)

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

[](#installation)

You can install the package via composer:

```
composer require FarmToYou/shippo-laravel
```

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

[](#configuration)

Publish the configuration file:

```
php artisan vendor:publish --provider="FarmToYou\ShippoLaravel\ShippoCarrierServiceProvider"
```

Then update your `.env` file with your Shippo API credentials:

```
SHIPPO_API_KEY=your_api_key_here
SHIPPO_API_VERSION=2018-02-08

```

Usage
-----

[](#usage)

```
use FarmToYou\ShippoLaravel\Facades\ShippoCarrier;

// Create a shipping label
$shipment = ShippoCarrier::createShipment([
    'address_from' => [
        'name' => 'John Doe',
        'street1' => '123 Main St',
        'city' => 'San Francisco',
        'state' => 'CA',
        'zip' => '94105',
        'country' => 'US',
    ],
    'address_to' => [
        'name' => 'Jane Doe',
        'street1' => '456 Oak St',
        'city' => 'New York',
        'state' => 'NY',
        'zip' => '10001',
        'country' => 'US',
    ],
    'parcels' => [
        [
            'length' => 10,
            'width' => 8,
            'height' => 4,
            'distance_unit' => 'in',
            'weight' => 2,
            'mass_unit' => 'lb',
        ],
    ],
]);

// Get available shipping rates
$rates = ShippoCarrier::getShipmentRates($shipment['object_id']);

// Purchase a label
$transaction = ShippoCarrier::purchaseShippingLabel($rates[0]['object_id']);
```

Troubleshooting
---------------

[](#troubleshooting)

If you encounter the error "Class 'FarmToYou\\ShippoLaravels\\ShippoCarriersServiceProvider' not found", there might be a namespace discrepancy. Make sure your service provider uses the correct namespace as defined in your composer.json file.

### For service provider issues:

[](#for-service-provider-issues)

Check that your [composer.json](composer.json) has the correct PSR-4 autoloading configuration:

```
"autoload": {
    "psr-4": {
        "FarmToYou\\ShippoLaravel\\": "src/"
    }
}
```

Then run:

```
composer dump-autoload
```

License
-------

[](#license)

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

Credits
-------

[](#credits)

- [Christian Martin Cabucos](https://github.com/christianmartincabucos)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance52

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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 ~2 days

Recently: every ~12 days

Total

30

Last Release

337d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/35110272?v=4)[Christian Martin Cabucos](/maintainers/christianmartincabucos)[@christianmartincabucos](https://github.com/christianmartincabucos)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/farmto-shippo-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/farmto-shippo-laravel/health.svg)](https://phpackages.com/packages/farmto-shippo-laravel)
```

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.8k3](/packages/defstudio-telegraph)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[rapidez/core

Rapidez Core

1823.5k72](/packages/rapidez-core)

PHPackages © 2026

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