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 yesterday

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 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

2625d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b8a1429d1be31b4a6dfb3df768649807322171af0212a04c3e944fe4d053b61?d=identicon)[tmannherz](/maintainers/tmannherz)

###  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.1k822.4M6.8k](/packages/symfony-http-kernel)[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k132.9M468](/packages/zircote-swagger-php)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k314.0M3.4k](/packages/symfony-http-client)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[api-platform/metadata

API Resource-oriented metadata attributes and factories

223.5M96](/packages/api-platform-metadata)

PHPackages © 2026

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