PHPackages                             kmatulewicz/sylius-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. [API Development](/categories/api)
4. /
5. kmatulewicz/sylius-baselinker

ActiveSylius-plugin[API Development](/categories/api)

kmatulewicz/sylius-baselinker
=============================

Baselinker API plugin for Sylius.

071PHP

Since Apr 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kmatulewicz/SyliusBaselinkerPlugin)[ Packagist](https://packagist.org/packages/kmatulewicz/sylius-baselinker)[ RSS](/packages/kmatulewicz-sylius-baselinker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Sylius Baselinker Plugin
========================

[](#sylius-baselinker-plugin)

This plugin is work in progress, do not use this plugin to other purpose then testing, especially do not use this plugin in production environment.

How to test plugin
==================

[](#how-to-test-plugin)

The fastest method to run dev environment is to use docker:

```
docker compose up -d
docker compose exec app make init

```

Change `BL_TOKEN` in `tests/Application/.env`. Now you can set plugin in admin panel on your localhost: `http://localhost/admin`, login is `sylius`, password is the same as login. You can run sync commands:

```
docker compose exec app make symfony baselinker:orders:add
docker compose exec app make symfony baselinker:orders:payments
docker compose exec app make symfony baselinker:orders:statuses

```

or tests:

```
docker compose exec app make test

```

Installation
============

[](#installation)

The plugin can be installed in an existing or new sylius-standard application.

1. Run:

    ```
    composer require kmatulewicz/sylius-baselinker
    ```
2. Check presence of plugin entry in `config/bundles.php`:

    ```
    SyliusBaselinkerPlugin\SyliusBaselinkerPlugin::class => ['all' => true],

    ```
3. Add to `config/packages/_sylius.yaml`:

    ```
    - { resource: "@SyliusBaselinkerPlugin/Resources/config/config.yml" }
    ```
4. Add to `config/routes.yaml`:

    ```
    sylius_baselinker:
        resource: "@SyliusBaselinkerPlugin/Resources/config/routing.yml"
    ```
5. Add `SyliusBaselinkerPlugin\Entity\OrderInterface` and `SyliusBaselinkerPlugin\Entity\OrderTrait` to `src/Entity/Order/Order.php`. Final result should be similar to:

    ```
    // src/Entity/Order/Order.php
    // [...]
    use SyliusBaselinkerPlugin\Entity\OrderInterface;
    use SyliusBaselinkerPlugin\Entity\OrderTrait;
    // [...]
    class Order extends BaseOrder implements OrderInterface
    {
        use OrderTrait;
    }
    ```
6. Add `BL_TOKEN` to your .env file. Token can be found in Baselinker &gt; My Account &gt; API. If you do not have a token already, create a new one. Final result should be similar to:

    ```
    BL_TOKEN=token_copied_from_baselinker

    ```
7. Execute migrations:

    ```
    bin/console doctrine:migrations:migrate
    ```
8. Rebuild the cache to display all new translations correctly:

    ```
    bin/console cache:clear
    bin/console cache:warmup
    ```
9. Go to admin panel and set order source and statuses associations on Baselinker section.

Usage
=====

[](#usage)

This plugin provides commands:

1. `baselinker:orders:add` Adds not synchronized shop orders to Baselinker.
2. `baselinker:orders:payments` Adds to Baselinker payments done in shop after last synchronization.
3. `baselinker:orders:statuses` Checks for status changes of synchronized orders. Applies shop order status change to corresponding Baselinker status.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 97.3% 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/02cf22adb60b318a1dcf78015b240f77dd0a3c7e1e245d72ba4682bd7662e401?d=identicon)[kmatulewicz](/maintainers/kmatulewicz)

---

Top Contributors

[![kmatulewicz](https://avatars.githubusercontent.com/u/126390605?v=4)](https://github.com/kmatulewicz "kmatulewicz (107 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

### Embed Badge

![Health badge](/badges/kmatulewicz-sylius-baselinker/health.svg)

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

###  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)
