PHPackages                             thegrommet/sps-connector - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. thegrommet/sps-connector

ActiveLibrary[HTTP &amp; Networking](/categories/http)

thegrommet/sps-connector
========================

A PHP library for integrating with SPS Commerce via SFTP

v1.0.1(7y ago)15.2kMITPHPPHP ^7.1

Since Sep 19Pushed 7y ago12 watchersCompare

[ Source](https://github.com/thegrommet/sps-connector)[ Packagist](https://packagist.org/packages/thegrommet/sps-connector)[ RSS](/packages/thegrommet-sps-connector/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (5)Versions (5)Used By (0)

SPS-Connector
=============

[](#sps-connector)

A PHP library for integrating with SPS Commerce via SFTP.

### Build status

[](#build-status)

[![CircleCI](https://camo.githubusercontent.com/6db91bd16dc34b767d38bf1cbb25b2cb8634082185e8c43f25d19ae49f91f2ba/68747470733a2f2f636972636c6563692e636f6d2f67682f74686567726f6d6d65742f7370732d636f6e6e6563746f722e7376673f7374796c653d737667)](https://circleci.com/gh/thegrommet/sps-connector)

Install
-------

[](#install)

```
composer require thegrommet/sps-connector
```

Usage
-----

[](#usage)

### GS1 Label Generation

[](#gs1-label-generation)

> See [generate-label.php](example/generate-label.php)

```
use SpsConnector\Document\ShippingLabel;
use SpsConnector\LabelService;

$labelDocument = new ShippingLabel();
$label = $labelDocument->addLabel();
// add label specifics

$service = new LabelService('username', 'password');
$pdf = $service->getLabel($labelDocument->__toString(), '5311', $service::FORMAT_PDF);
file_put_contents('label.pdf', $pdf);
```

Running tests
-------------

[](#running-tests)

```
composer test
```

Code sniff &amp; fix
--------------------

[](#code-sniff--fix)

```
# sniff src folder
composer cs
# sniff tests folder
composer cs-tests

# fix src folder
composer cbf
# fix tests folder
composer cbf-tests
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~81 days

Total

3

Last Release

2673d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/533798?v=4)[Todd Mannherz](/maintainers/tmannherz)[@tmannherz](https://github.com/tmannherz)

---

Top Contributors

[![tmannherz](https://avatars.githubusercontent.com/u/533798?v=4)](https://github.com/tmannherz "tmannherz (6 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/thegrommet-sps-connector/health.svg)

```
[![Health](https://phpackages.com/badges/thegrommet-sps-connector/health.svg)](https://phpackages.com/packages/thegrommet-sps-connector)
```

###  Alternatives

[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k853.6M8.3k](/packages/symfony-http-kernel)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k330.1M4.6k](/packages/symfony-http-client)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[magento/community-edition

Magento 2 (Open Source)

12.1k53.0k12](/packages/magento-community-edition)

PHPackages © 2026

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