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.

222[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 6d 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 2% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity35

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://www.gravatar.com/avatar/297875b9e74d429ff3c9a3c489fccc8a4340e0e7171eddd4521373c7627b5129?d=identicon)[ciekals11](/maintainers/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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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