PHPackages                             onecode/shopflix-connector-library - 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. onecode/shopflix-connector-library

AbandonedArchivedLibrary[API Development](/categories/api)

onecode/shopflix-connector-library
==================================

Official SHOPFLIX connector library for php projects by Onecode

1.1.0(3y ago)010411MITPHPPHP &gt;=7.3

Since Jan 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/OnecodeGr/shopflix-connector-library)[ Packagist](https://packagist.org/packages/onecode/shopflix-connector-library)[ RSS](/packages/onecode-shopflix-connector-library/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (10)Dependencies (4)Versions (16)Used By (1)

onecode/shopflix\_connector\_library
====================================

[](#onecodeshopflix_connector_library)

[![GitHub version](https://camo.githubusercontent.com/d160b9290b0734202aed85a49f91fe4d492046f1e4d9b46ca7a58e59ba683115/68747470733a2f2f62616467652e667572792e696f2f67682f4f6e65636f6465477225324673686f70666c69782d636f6e6e6563746f722d6c6962726172792e737667)](https://badge.fury.io/gh/OnecodeGr%2Fshopflix-connector-library)[![GitHub license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](./LICENSE.md)[![PHP Version Require](https://camo.githubusercontent.com/d7504167276d890c4daf53d68e2628bc4f1ee8d5e1bddb5384f27f4654d77a68/687474703a2f2f706f7365722e707567782e6f72672f6f6e65636f64652f73686f70666c69782d636f6e6e6563746f722d6c6962726172792f726571756972652f706870)](https://packagist.org/packages/onecode/shopflix-connector-library)

Library to connect with Shopflix () for vendors

For &gt;= Php7.1 &lt;= Php7.2 use the php71\_php72 branch. Via composer

`composer require onecode/shopflix-connector-library:0.0.1`

For &gt;= php7.3 use the main branch. Via composer

`composer require onecode/shopflix-connector-library`

Usage
=====

[](#usage)

```
use \Onecode\ShopFlixConnector\Library\Connector;
$connector = new Connector("username", "appi_key", "api_url");
```

Get new orders

```
$newOrders = $connector->getNewOrders();
```

Get canceled orders

```
$canceledOrders = $connector->getCancelOrders();
```

Get partial shipped orders

```
$partialShipped = $connector->getPartialShipped();
```

Get shipped order

```
$shipped = $connector->getShipped();
```

Update order to shopflix set status to picking mode use on acceptance.

```
 $order = 123;#Shopflix Order id
 $connector->picking($orderId);
```

Reject order

```
 $order = 123;#Shopflix Order id
 $connector->reject($orderId, "The product has been removed");
```

Get shipment for specific order

```
 $order = 123;#Shopflix Order id
 $shipments =  $connector->getShipment($orderId);
```

Create tracking voucher

```
 $shipmentId = 123;#Shopflix Shipment id
 $voucher = $connector->createVoucher($shipmentId);
```

Print tracking voucher number

```
 $trackingVoucher = "tracking_voucher";
 $voucher = $connector->printVoucher($trackingVoucher);
```

Mass print tracking voucher.Max 20 vouchers

```
 $trackingVouchers = [
     "tracking_voucher1",
     "tracking_voucher2",
     "tracking_voucher3",
     ...
     "tracking_voucher19",
 ];
 $voucher = $connector->printVouchers($trackingVoucher);
```

Get tracking voucher number from specific shipment

```
 $shipmentId = 123;#Shopflix Shipment id
 $voucher = $connector->getVoucher($shipmentId);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

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

Every ~25 days

Recently: every ~62 days

Total

13

Last Release

1264d ago

Major Versions

0.0.2 → 1.0.92022-11-15

PHP version history (2 changes)0.0.1PHP &gt;=7.1, &lt;=7.2

1.0.9PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/625d89fbdb862880e7d85b641c9e066f7db625dd094ecfdae252776a46f6698e?d=identicon)[spyrmp](/maintainers/spyrmp)

---

Top Contributors

[![spyrmp](https://avatars.githubusercontent.com/u/4165165?v=4)](https://github.com/spyrmp "spyrmp (59 commits)")

---

Tags

php

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/onecode-shopflix-connector-library/health.svg)

```
[![Health](https://phpackages.com/badges/onecode-shopflix-connector-library/health.svg)](https://phpackages.com/packages/onecode-shopflix-connector-library)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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