PHPackages                             mataluis2k/shipwire-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. mataluis2k/shipwire-api

ActiveLibrary

mataluis2k/shipwire-api
=======================

Shipwire php integration

v0.2.14(2y ago)0641MITPHP

Since Dec 16Pushed 2y agoCompare

[ Source](https://github.com/mataluis2k/shipwire-api)[ Packagist](https://packagist.org/packages/mataluis2k/shipwire-api)[ RSS](/packages/mataluis2k-shipwire-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (7)Versions (23)Used By (0)

shipwire-api
============

[](#shipwire-api)

These library will help you with the usage of Shipwire API.

[![Latest Stable Version](https://camo.githubusercontent.com/e7154dec65d5a8f40b81344d2ef9e03465de06325ef369c56bdff3dbab04d869/68747470733a2f2f706f7365722e707567782e6f72672f6d6174616c756973326b2f73686970776972652d6170692f762f737461626c652e737667)](https://packagist.org/packages/mataluis2k/shipwire-api)[![Total Downloads](https://camo.githubusercontent.com/b9956e4edbed06d07ae3b4c2d99d73290adba07f791c8cbdfcb2d0110bcfdd5f/68747470733a2f2f706f7365722e707567782e6f72672f6d6174616c756973326b2f73686970776972652d6170692f646f776e6c6f6164732e737667)](https://packagist.org/packages/mataluis2k/shipwire-api)[![Latest Unstable Version](https://camo.githubusercontent.com/4d46b0e37c3f0ba358683f1a2e5e58c8b45ab9abc8a8aa88529b21b16f97dd14/68747470733a2f2f706f7365722e707567782e6f72672f6d6174616c756973326b2f73686970776972652d6170692f762f756e737461626c652e737667)](https://packagist.org/packages/mataluis2k/shipwire-api)[![License](https://camo.githubusercontent.com/a655b369e48796ce639bdce95010d3fa5da95710ef5faeb2a0bc8177fac85d00/68747470733a2f2f706f7365722e707567782e6f72672f6d6174616c756973326b2f73686970776972652d6170692f6c6963656e73652e737667)](https://packagist.org/packages/mataluis2k/shipwire-api)

Installing via Composer
-----------------------

[](#installing-via-composer)

The recommended way to install Shipwire-API is through [Composer](http://getcomposer.org).

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of Shipwire-API:

```
composer require mataluis2k/shipwire-api
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

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

[](#documentation)

### Initial configuration

[](#initial-configuration)

To configure the library just call ShipwireConnector::init() function to and start using it.

To use it you only have to configure your username and password in The clientyour config-local file like this:

```
ShipwireConnector::init($config['username'], $config['password'], 'sandbox');
```

### Stock

[](#stock)

To check for Stock of a product:

```
$response = $stock->getStockBySKUs(['CAPTRACKERBLUE']);
```

If you have more than one SKU, just add them to the array like:

```
$response = $stock->getStockBySKUs(['CAPTRACKERBLUE', 'CAPTRACKERRED', 'ETCETERA']);
```

Extra parameters can be used. See \\mataluis2k\\shipwire\\Stock for more information.

### Rates

[](#rates)

You can ask Shipwire API for a shipping rate using Rate class.

```
$rate = new Rate;
$options = [
    "currency" => "USD",
    "groupBy" => "all",
    "canSplit" => 1,
    "warehouseArea" => "US"
];

$address = Address::createFromArray([
    "address1" => "6501 Railroad Avenue SE",
    "address2" => "Room 315",
    "address3" => "",
    "city" => "Snoqualmie",
    "postalCode" => "85283",
    "region" => "WA",
    "country" => "US",
    "isCommercial" => 0,
    "isPoBox" => 0
]);

$items = [
    ['sku' => 'CAPTRACKERBLUE', 'quantity' => 3]
];

$shippingInfo = $rate->quote($address, $items, $options);
```

### Orders

[](#orders)

```
$order = new \mataluis2k\shipwire\Order();
```

**TBD**

\##Issues and Feature Requests

If you have issues to report, or issues to request, use the issue tracker in Github.

\##Contributing

Currently, the library isn't very feature rich or mature. If you'd like to offer improvements:

1. Fork it
2. Create your feature branch `git checkout -b feature-name`
3. Commit your changes `git commit -am 'Add feature'` \*
4. Push the branch `git push origin feature-name`
5. Create a pull request

\##Contact

Have a question? I'm on twitter: [@cloudGuru\_saas](https://twitter.com/cloudGuru_saas)Also, checkout my blog at [devops7.com](https://devops7.com)

\##License

[MIT](License)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~95 days

Total

17

Last Release

933d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/07da39b94316a268054068bed89cd768adb29d2197fdf9bccd41c14463f21ecb?d=identicon)[mataluis2k](/maintainers/mataluis2k)

---

Top Contributors

[![simoheinonen](https://avatars.githubusercontent.com/u/3840367?v=4)](https://github.com/simoheinonen "simoheinonen (14 commits)")[![mataluis2k](https://avatars.githubusercontent.com/u/91482309?v=4)](https://github.com/mataluis2k "mataluis2k (9 commits)")[![andrewalba](https://avatars.githubusercontent.com/u/184900?v=4)](https://github.com/andrewalba "andrewalba (6 commits)")[![Fusty](https://avatars.githubusercontent.com/u/103036?v=4)](https://github.com/Fusty "Fusty (4 commits)")[![sebathi](https://avatars.githubusercontent.com/u/1434034?v=4)](https://github.com/sebathi "sebathi (4 commits)")

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/mataluis2k-shipwire-api/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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