PHPackages                             swiatprzesylek/linker-api-client - 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. swiatprzesylek/linker-api-client

ActiveLibrary[API Development](/categories/api)

swiatprzesylek/linker-api-client
================================

Linker Cloud Fulfillment Platform API Client library

022PHP

Since Aug 8Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Linker API Client

PHP Library to access Linker Public API.

Build Status: [![Build Status](https://camo.githubusercontent.com/8117c390804d4560ee0819a3d06d29a38db3b57eeb45e4576c1e7b0e169d0722/68747470733a2f2f7472617669732d63692e6f72672f4c696e6b6572436c6f75642f6c696e6b65722d6170692d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/LinkerCloud/linker-api-client)

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

[](#installation)

Install composer `require linker/api-client`

Create instance

```
use GuzzleHttp\Client;
use JMS\Serializer\SerializerBuilder;
use Linker\Api\Client\HttpApiClient;

$uri     = 'https://api.test.linker.shop/public-api/v1';
$apiKey  = 'api123';
$client  = new Client();
//JMS Serializer
$serializer = SerializerBuilder::create()->build();

$client = new HttpApiClient($client, $serializer, $uri, $apiKey);

```

Features
--------

[](#features)

Get order list

```
$result = $client->getOrders();

```

Get order

```
$result = $client->getOrder('orderId');

```

Create order

```
$order = new Order();
$order->setClientOrderNumber('abcd');
$order->setOrderDate(new \DateTime());
$order->setCarrier('DHL');
$order->setDeliveryCountry('PL');
$order->setDeliveryPostCode('10-234');
$order->setDeliveryCity('Warsaw');
$order->setDeliveryStreet('Test Street');
$order->setDeliveryEmail('info@linker.shop');
$order->setDeliveryRecipient('Joh Snow');
$result = $client->createOrder($order);

```

Get stock list

```
$result = $client->getStocks();

```

Testing
-------

[](#testing)

Unit tests are in tests/unit you can run it by running following command `phpunit tests/unit`

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

Top contributor holds 64.5% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a73ab244a55f62a45aa41eb471b2fa206ac4edf39308b94c4b7442afb8eaa0af?d=identicon)[swiatprzesylek](/maintainers/swiatprzesylek)

---

Top Contributors

[![hrba](https://avatars.githubusercontent.com/u/2995275?v=4)](https://github.com/hrba "hrba (20 commits)")[![Greg0](https://avatars.githubusercontent.com/u/1397756?v=4)](https://github.com/Greg0 "Greg0 (3 commits)")[![piterssson](https://avatars.githubusercontent.com/u/16086241?v=4)](https://github.com/piterssson "piterssson (2 commits)")[![KamilKazm](https://avatars.githubusercontent.com/u/48932338?v=4)](https://github.com/KamilKazm "KamilKazm (1 commits)")[![michalploneczka](https://avatars.githubusercontent.com/u/3415439?v=4)](https://github.com/michalploneczka "michalploneczka (1 commits)")[![acofala](https://avatars.githubusercontent.com/u/9332746?v=4)](https://github.com/acofala "acofala (1 commits)")[![vlaim](https://avatars.githubusercontent.com/u/1304775?v=4)](https://github.com/vlaim "vlaim (1 commits)")[![beardandbowtie](https://avatars.githubusercontent.com/u/8981818?v=4)](https://github.com/beardandbowtie "beardandbowtie (1 commits)")[![jasufo](https://avatars.githubusercontent.com/u/15183228?v=4)](https://github.com/jasufo "jasufo (1 commits)")

### Embed Badge

![Health badge](/badges/swiatprzesylek-linker-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/swiatprzesylek-linker-api-client/health.svg)](https://phpackages.com/packages/swiatprzesylek-linker-api-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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