PHPackages                             babdev/supplier-plugin - 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. babdev/supplier-plugin

ActiveSylius-plugin

babdev/supplier-plugin
======================

Supplier processing for Sylius.

v0.1.0(7y ago)62.0k4[1 PRs](https://github.com/BabDev/supplier-plugin/pulls)MITPHPPHP ^7.1CI failing

Since Aug 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/BabDev/supplier-plugin)[ Packagist](https://packagist.org/packages/babdev/supplier-plugin)[ GitHub Sponsors](https://github.com/mbabker)[ RSS](/packages/babdev-supplier-plugin/feed)WikiDiscussions 0.2 Synced 2mo ago

READMEChangelogDependencies (18)Versions (2)Used By (0)

Sylius Supplier Plugin
======================

[](#sylius-supplier-plugin)

[![Latest Stable Version](https://camo.githubusercontent.com/1de1c2138f8f876367543d9e023f5d09f26959bc7180a6e455cea46fad99fc53/68747470733a2f2f706f7365722e707567782e6f72672f6261626465762f737570706c6965722d706c7567696e2f76)](https://packagist.org/packages/babdev/supplier-plugin) [![Latest Unstable Version](https://camo.githubusercontent.com/d9ba005074b478e4dab0286120b497915b2e9eb7445ba6014fc2465c095e319a/68747470733a2f2f706f7365722e707567782e6f72672f6261626465762f737570706c6965722d706c7567696e2f762f756e737461626c65)](https://packagist.org/packages/babdev/supplier-plugin) [![Total Downloads](https://camo.githubusercontent.com/cf96e44181ba9bb56cc301ece8e6b9c08c355faf81175d298d88ca3cce42a596/68747470733a2f2f706f7365722e707567782e6f72672f6261626465762f737570706c6965722d706c7567696e2f646f776e6c6f616473)](https://packagist.org/packages/babdev/supplier-plugin) [![License](https://camo.githubusercontent.com/af8a897a95a45e755819fb334a8824e1fed84c5d8cbcf00a2ef0023f63ace3b1/68747470733a2f2f706f7365722e707567782e6f72672f6261626465762f737570706c6965722d706c7567696e2f6c6963656e7365)](https://packagist.org/packages/babdev/supplier-plugin) [![Build](https://github.com/BabDev/supplier-plugin/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/BabDev/supplier-plugin/actions/workflows/build.yml)

The [Sylius](https://sylius.com/) supplier plugin adds support for a supplier model which can be used to extend products.

Documentation
-------------

[](#documentation)

For a comprehensive guide on Sylius Plugins development please go to Sylius documentation, there you will find the [Plugin Development Guide](https://docs.sylius.com/en/latest/plugin-development-guide/index.html), that is full of examples.

Quickstart Installation
-----------------------

[](#quickstart-installation)

1. Run `composer create-project sylius/plugin-skeleton ProjectName`.
2. From the plugin skeleton root directory, run the following commands:

    ```
    $ (cd tests/Application && yarn install)
    $ (cd tests/Application && yarn build)
    $ (cd tests/Application && APP_ENV=test bin/console assets:install public)

    $ (cd tests/Application && APP_ENV=test bin/console doctrine:database:create)
    $ (cd tests/Application && APP_ENV=test bin/console doctrine:schema:create)
    ```

To be able to setup a plugin's database, remember to configure you database credentials in `tests/Application/.env` and `tests/Application/.env.test`.

Usage
-----

[](#usage)

### Running plugin tests

[](#running-plugin-tests)

- PHPUnit

    ```
    vendor/bin/phpunit
    ```
- PHPSpec

    ```
    vendor/bin/phpspec run
    ```
- Behat (non-JS scenarios)

    ```
    vendor/bin/behat --strict --tags="~@javascript"
    ```
- Behat (JS scenarios)

    1. [Install Symfony CLI command](https://symfony.com/download).
    2. Start Headless Chrome:

    ```
    google-chrome-stable --enable-automation --disable-background-networking --no-default-browser-check --no-first-run --disable-popup-blocking --disable-default-apps --allow-insecure-localhost --disable-translate --disable-extensions --no-sandbox --enable-features=Metal --headless --remote-debugging-port=9222 --window-size=2880,1800 --proxy-server='direct://' --proxy-bypass-list='*' http://127.0.0.1
    ```

    3. Install SSL certificates (only once needed) and run test application's webserver on `127.0.0.1:8080`:

    ```
    symfony server:ca:install
    APP_ENV=test symfony server:start --port=8080 --dir=tests/Application/public --daemon
    ```

    4. Run Behat:

    ```
    vendor/bin/behat --strict --tags="@javascript"
    ```
- Static Analysis

    - Psalm

        ```
        vendor/bin/psalm
        ```
    - PHPStan

        ```
        vendor/bin/phpstan analyse -c phpstan.neon -l max src/
        ```
- Coding Standard

    ```
    vendor/bin/ecs check src
    ```

### Opening Sylius with your plugin

[](#opening-sylius-with-your-plugin)

- Using `test` environment:

    ```
    (cd tests/Application && APP_ENV=test bin/console sylius:fixtures:load)
    (cd tests/Application && APP_ENV=test bin/console server:run -d public)
    ```
- Using `dev` environment:

    ```
    (cd tests/Application && APP_ENV=dev bin/console sylius:fixtures:load)
    (cd tests/Application && APP_ENV=dev bin/console server:run -d public)
    ```

Security
--------

[](#security)

If you believe you have discovered a security issue with this plugin, please email  with information about the issue. Do **NOT** use the public issue tracker for security issues.

License
-------

[](#license)

Sylius and this plugin is licensed under the MIT License. See the [LICENSE file](/LICENSE) for full details.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~1918 days

Total

2

Last Release

909d ago

PHP version history (2 changes)v0.1.0PHP ^7.1

0.2.x-devPHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/52468993b62b781c3c94028d5626d35fd53297482813af84db6e96e81ae67283?d=identicon)[mbabker](/maintainers/mbabker)

---

Top Contributors

[![mbabker](https://avatars.githubusercontent.com/u/368545?v=4)](https://github.com/mbabker "mbabker (66 commits)")[![vvasiloi](https://avatars.githubusercontent.com/u/7114562?v=4)](https://github.com/vvasiloi "vvasiloi (11 commits)")

---

Tags

phpsyliussylius-pluginshopecommercesupplier

###  Code Quality

TestsPHPUnit

Code StyleECS

### Embed Badge

![Health badge](/badges/babdev-supplier-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/babdev-supplier-plugin/health.svg)](https://phpackages.com/packages/babdev-supplier-plugin)
```

###  Alternatives

[sylius/resource

Basic resource interfaces for PHP applications.

252.7M65](/packages/sylius-resource)[amsgames/laravel-shop

Package set to provide shop or e-commerce functionality (such as CART, ORDERS, TRANSACTIONS and ITEMS) to Laravel for customizable builds.

4775.9k](/packages/amsgames-laravel-shop)[sylius/promotion

Flexible promotion management for PHP applications.

28477.8k9](/packages/sylius-promotion)[sylius/order

Orders management library for PHP.

24455.5k21](/packages/sylius-order)[sylius/taxonomy-bundle

Flexible categorization system for Symfony.

26388.2k7](/packages/sylius-taxonomy-bundle)[sylius/product

Product catalog system with support for product options and variants.

24367.4k15](/packages/sylius-product)

PHPackages © 2026

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