PHPackages                             solizion/php-baselinker - 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. solizion/php-baselinker

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

solizion/php-baselinker
=======================

php-baselinker is a PHP library for accessing the BaseLinker service.

322[42 issues](https://github.com/Solizion/php-baselinker/issues)PHP

Since Sep 9Pushed 5y ago3 watchersCompare

[ Source](https://github.com/Solizion/php-baselinker)[ Packagist](https://packagist.org/packages/solizion/php-baselinker)[ RSS](/packages/solizion-php-baselinker/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

[![Build Status](https://camo.githubusercontent.com/70242e7f52b27fa425a520866441583611b1f7ea822e569e102778017e281600/68747470733a2f2f7472617669732d63692e636f6d2f536f6c697a696f6e2f7068702d626173656c696e6b65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/Solizion/php-baselinker)

PHP BaseLinker API
==================

[](#php-baselinker-api)

php-baselinker is a PHP library for accessing the [BaseLinker](https://baselinker.com/) service.

Currently **the library has BETA status**

Library not implement each of method from BaseLinker API [Documentation](https://api.baselinker.com/) yet.

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

[](#installation)

To install php-baselinker, [install Composer](https://getcomposer.org/download/) and issue the following command:

```
composer require solizion/php-baselinker

```

Usage
-----

[](#usage)

Create a client object and pass as parameters api url and generated api key. To generate an api key, you must first have an existing baselinker account, and then go to "My account" -&gt; "API" -&gt; type name of application and click "Generate token".

```
use BaselinkerClient\Client;

$apiUrl = "https://api.baselinker.com/connector.php";
$apiKey = "verySecretApiKey"

$client = new Client($apiUrl, $apiKey);
```

### Example

[](#example)

Get logs kind of "create new order", "change order status" from the journal.

```
use BaselinkerClient\Client;
use BaselinkerClient\Journal\GetJournalListParameters;

$apiUrl = "https://api.baselinker.com/connector.php";
$apiKey = "verySecretApiKey"

$client = new Client($apiUrl, $apiKey);

$parameters = new GetJournalListParameters(
    1, // last_log_id
    [
        GetJournalListParameters::CREATE_ORDER,
        GetJournalListParameters::REMOVE_ORDER,
    ], // log_types
    null, // order_id
);

$journal = $client->getJournalList($parameters);
```

Errors
------

[](#errors)

BaseLinker return field "status" with values "SUCCESS" or "ERROR".

When status is "ERROR" then fields `error_message` and `error_code` are added to the response.

Developed methods
-----------------

[](#developed-methods)

NameDescriptionGetJournalListGet list of eventsVersioning
----------

[](#versioning)

Versioning is based on [semver](https://semver.org/).

New version is release by a new tag.

Licence
-------

[](#licence)

This library is distributed under the BSD 3 Licence, see LICENSE for more information.

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

[](#contributing)

Authors of this library are Kamil Ciekalski, Dawid Miklas and Marcisz Szczot

If you want to help with development it - **fork me!**

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8617582?v=4)[Kamil Ciekalski](/maintainers/ciekals11)[@ciekals11](https://github.com/ciekals11)

---

Top Contributors

[![ciekals11](https://avatars.githubusercontent.com/u/8617582?v=4)](https://github.com/ciekals11 "ciekals11 (11 commits)")

---

Tags

apibaselinkerhttp-clientphp

### Embed Badge

![Health badge](/badges/solizion-php-baselinker/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M81](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.8k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M89](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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