PHPackages                             spinbits/baselinker-sdk - 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. spinbits/baselinker-sdk

ActiveLibrary[API Development](/categories/api)

spinbits/baselinker-sdk
=======================

PHP integration with Baselinker https://api.baselinker.com/

1.0.2(4y ago)52.8k↓66%2MITPHPPHP ~7.4

Since Sep 24Pushed 3y ago4 watchersCompare

[ Source](https://github.com/spinbits/baselinker-sdk)[ Packagist](https://packagist.org/packages/spinbits/baselinker-sdk)[ Docs](https://github.com/spinbits/baselinker-sdk)[ RSS](/packages/spinbits-baselinker-sdk/feed)WikiDiscussions main Synced today

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

Spinbits.io Baselinker Sdk
==========================

[](#spinbitsio-baselinker-sdk)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ff3f8edeb4729018721bfab4d4b292f9a2d952901ddb20e7e2482f3d178ded50/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7370696e626974732f626173656c696e6b65722d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spinbits/baselinker-sdk)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/e1af2eb5e1904aea1d8e193b8a5ab85c3851d414b42012449f3ee2fe11716c25/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7370696e626974732f626173656c696e6b65722d73646b2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/spinbits/baselinker-sdk)[![Total Downloads](https://camo.githubusercontent.com/6af58c0a0fb9a6ffe5b0f44a7224bae7a4f3f6d6badd62069df42c8d5dd7d2bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7370696e626974732f626173656c696e6b65722d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spinbits/baselinker-sdk)

Need help ?
-----------

[](#need-help-)

Drop us a message

Description
-----------

[](#description)

This package is implementation of communication with BaseLinker Connector ("integration file"). For further details please refer to  .

This package provides only core action handler. It's ready to be extended with your own ecommerce (Sylius, or other php-based products) action handlers.

For integration with Sylius, please go to

Install
-------

[](#install)

Via Composer

```
$ composer require spinbits/baselinker-sdk
```

Usage
-----

[](#usage)

In order to use this package, instantiate your Baselinker handler:

```
$baselinkerPassword = 'secret-password';
$baselinkerHandler = new Spinbits\BaselinkerSdk\RequestHandler($baselinkerPassword);
```

Register example handlers with $actionName from BaseLinker API:

```
$fileVersionHandler = new Spinbits\BaselinkerSdk\Handler\Common\FileVersionActionHandler();
$baselinkerHandler->registerHandler('FileVersion', $fileVersionHandler);
```

You can register handler with some depending parameter also:

```
$supportedMethods = new Spinbits\BaselinkerSdk\Handler\Common\SupportedMethodsActionHandler($baselinkerHandler);
$baselinkerHandler->registerHandler('SupportedMethodsActionHandler', $supportedMethods);
```

Before your handle request you should create `Input` object which receives array passed in POST request as a parameter. Let's assumer that $request is for example `Symfony\Component\HttpFoundation\Request` object. We can use:

```
$input = new Spinbits\BaselinkerSdk\Rest\Input($request->request->all());
```

In order to process incoming request you can just run:

```
$response = $baselinkerHandler->handle($input);
```

The result to return controller response is:

```
$response->getContent();
/* returns example response:
[
    'platform' => "Common spinbits baslinker plugin",
    'version' => "4.0.0",
    'standard' => 4,
]
*/
```

Example handlers, common for all implementations can be found in `src\Handler\Common`.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.6% 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 ~64 days

Total

3

Last Release

1613d ago

### Community

Maintainers

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

---

Top Contributors

[![jakublech](https://avatars.githubusercontent.com/u/3625472?v=4)](https://github.com/jakublech "jakublech (10 commits)")[![SmartBytePl](https://avatars.githubusercontent.com/u/15998118?v=4)](https://github.com/SmartBytePl "SmartBytePl (4 commits)")[![marhub](https://avatars.githubusercontent.com/u/2960432?v=4)](https://github.com/marhub "marhub (2 commits)")[![kubabialy](https://avatars.githubusercontent.com/u/29861008?v=4)](https://github.com/kubabialy "kubabialy (1 commits)")[![Zales0123](https://avatars.githubusercontent.com/u/6212718?v=4)](https://github.com/Zales0123 "Zales0123 (1 commits)")

---

Tags

spinbitsbaselinker sdk

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/spinbits-baselinker-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/spinbits-baselinker-sdk/health.svg)](https://phpackages.com/packages/spinbits-baselinker-sdk)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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