PHPackages                             cline/shipit - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cline/shipit

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cline/shipit
============

Shipit SDK for PHP

1.0.0(8mo ago)00MITPHPPHP ^8.4.0CI passing

Since Oct 22Pushed 8mo agoCompare

[ Source](https://github.com/faustbrian/shipit)[ Packagist](https://packagist.org/packages/cline/shipit)[ RSS](/packages/cline-shipit/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (15)Versions (2)Used By (0)

[![GitHub Workflow Status](https://github.com/faustbrian/shipit/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/faustbrian/shipit/actions)[![Latest Version on Packagist](https://camo.githubusercontent.com/4aeb085c9649e36c680c009f7c8e94ef1fc5d135eb23f47bfeda941bcc32b306/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c696e652f7368697069742e737667)](https://packagist.org/packages/cline/shipit)[![Software License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/23b82aec10eabb6f11296ba8730605174bde732085c5e7dbdf3c265bce05e6f2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c696e652f7368697069742e737667)](https://packagist.org/packages/cline/shipit)

---

Shipit SDK
==========

[](#shipit-sdk)

A Saloon v3-based PHP SDK for the Shipit API with Spatie Laravel Data v4 DTOs.

Requirements
------------

[](#requirements)

> **Requires [PHP 8.4+](https://php.net/releases/)**

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

[](#installation)

```
composer require cline/shipit
```

Quick Start
-----------

[](#quick-start)

```
use Cline\Shipit\Connector\ShipitConnector;

// Auto-detect environment (production uses live, non-production uses test)
$shipit = ShipitConnector::new('your-api-token');

// Or explicitly choose environment
$shipit = ShipitConnector::live('your-api-token');  // Production
$shipit = ShipitConnector::test('your-api-token');  // Test environment
```

Documentation
-------------

[](#documentation)

Comprehensive cookbooks covering all SDK features:

- [Getting Started](cookbooks/01-getting-started.md) - Installation and basic setup
- [Shipping Methods](cookbooks/02-shipping-methods.md) - Query carriers and rates
- [Creating Shipments](cookbooks/03-creating-shipments.md) - Create shipments and labels
- [Service Points](cookbooks/04-service-points.md) - Find pickup/delivery locations
- [Postal Codes](cookbooks/05-postal-codes.md) - Validate addresses
- [Tracking](cookbooks/06-tracking.md) - Track shipments
- [Locations](cookbooks/07-locations.md) - Manage addresses
- [Organizations](cookbooks/08-organizations.md) - Manage organizations
- [User Management](cookbooks/09-user-management.md) - User accounts
- [Balance &amp; Accounting](cookbooks/10-balance-accounting.md) - Financial reporting
- [Advanced Features](cookbooks/11-advanced-features.md) - Carrier contracts, templates, batch processing
- [Error Handling](cookbooks/12-error-handling.md) - Robust error handling
- [Testing](cookbooks/13-testing.md) - Testing strategies

Features
--------

[](#features)

- **Saloon v3** - Modern HTTP client abstraction
- **Spatie Laravel Data v4** - Type-safe DTOs
- **Full API Coverage** - All Shipit API endpoints
- **Typed Responses** - Complete IDE autocomplete support
- **Error Handling** - Automatic exception throwing on errors
- **Multiple Environments** - Easy switching between test/live APIs

Architecture
------------

[](#architecture)

The SDK uses:

- Saloon v3 for HTTP client abstraction
- Spatie Laravel Data v4 for type-safe DTOs
- Strictly typed based on API form request validations

Change log
----------

[](#change-log)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/faustbrian/shipit/security) rather than the issue queue.

Credits
-------

[](#credits)

- [Brian Faust](https://github.com/faustbrian)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance60

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

254d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22145591?v=4)[Brian Faust](/maintainers/faustbrian)[@faustbrian](https://github.com/faustbrian)

---

Top Contributors

[![faustbrian](https://avatars.githubusercontent.com/u/22145591?v=4)](https://github.com/faustbrian "faustbrian (1 commits)")

---

Tags

phpsdkshipit

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/cline-shipit/health.svg)

```
[![Health](https://phpackages.com/badges/cline-shipit/health.svg)](https://phpackages.com/packages/cline-shipit)
```

###  Alternatives

[ohdearapp/ohdear-php-sdk

An SDK to easily work with the Oh Dear API

743.0M17](/packages/ohdearapp-ohdear-php-sdk)[crescat-io/saloon-sdk-generator

Simplified SDK Scaffolding for Saloon

13232.4k10](/packages/crescat-io-saloon-sdk-generator)[helgesverre/chromadb

PHP Client for the Chromadb Rest API

321.5k](/packages/helgesverre-chromadb)[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1123.7k](/packages/codebar-ag-laravel-docuware)

PHPackages © 2026

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