PHPackages                             loevgaard/sylius-barcode-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. loevgaard/sylius-barcode-plugin

ActiveSylius-plugin[Utility &amp; Helpers](/categories/utility)

loevgaard/sylius-barcode-plugin
===============================

Add barcodes to your products using this plugin

v1.7.0(1y ago)824.1k5[1 issues](https://github.com/loevgaard/SyliusBarcodePlugin/issues)[7 PRs](https://github.com/loevgaard/SyliusBarcodePlugin/pulls)2MITPHPPHP &gt;=8.1CI failing

Since Jan 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/loevgaard/SyliusBarcodePlugin)[ Packagist](https://packagist.org/packages/loevgaard/sylius-barcode-plugin)[ RSS](/packages/loevgaard-sylius-barcode-plugin/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (10)Dependencies (19)Versions (26)Used By (2)

Sylius Barcode Plugin
=====================

[](#sylius-barcode-plugin)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c56bb17670672a1f7ea0818f7d7479c3ed4283789a2a307c6c172db7c3f5d6fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f657667616172642f73796c6975732d626172636f64652d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/loevgaard/sylius-barcode-plugin)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/0989abd8d95f66c9da154b7b9fa92d57cf4e8e44d4279388fc5e8c5b865c9c7d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c6f657667616172642f53796c697573426172636f6465506c7567696e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/loevgaard/SyliusBarcodePlugin)[![Quality Score](https://camo.githubusercontent.com/2062c2a375548ee595edc8fa2da91de808d4d8a681b5e5a01d56be3e37651753/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c6f657667616172642f53796c697573426172636f6465506c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/loevgaard/SyliusBarcodePlugin)

Add barcodes to your products.

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

[](#installation)

### Step 1: Download the plugin

[](#step-1-download-the-plugin)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require loevgaard/sylius-barcode-plugin
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

### Step 2: Enable the plugin

[](#step-2-enable-the-plugin)

Then, enable the plugin by adding it to the list of registered plugins/bundles in the `config/bundles.php` file of your project:

```

            barcode
            loevgaard_sylius_barcode.product_variant.barcode.unique
            sylius

```

Like it [configured](tests/Application/config/validator/ProductVariant.xml) at example application.

### Step 8: Using asynchronous transport (optional, but recommended)

[](#step-8-using-asynchronous-transport-optional-but-recommended)

All commands in this plugin will extend the [CommandInterface](src/Message/Command/CommandInterface.php). Therefore you can route all commands easily by adding this to your [Messenger config](https://symfony.com/doc/current/messenger.html#routing-messages-to-a-transport):

```
# config/packages/messenger.yaml
framework:
    messenger:
        routing:
            # Route all command messages to the async transport
            # This presumes that you have already set up an 'async' transport
            'Loevgaard\SyliusBarcodePlugin\Message\Command\CommandInterface': async
```

Usage
-----

[](#usage)

Run the check command:

```
$ php bin/console loevgaard:barcode:check
```

This will mark all product variant as checked and updated the field `barcodeValid` to either true or false depending on the result of the check.

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance42

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 56.8% 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 ~150 days

Recently: every ~407 days

Total

16

Last Release

433d ago

PHP version history (5 changes)v1.0.0PHP ^7.2

v1.4.1PHP ^7.3

v1.5.0PHP &gt;=7.3

v1.6.0PHP &gt;=7.4

v1.7.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2412177?v=4)[Joachim Løvgaard](/maintainers/loevgaard)[@loevgaard](https://github.com/loevgaard)

---

Top Contributors

[![loevgaard](https://avatars.githubusercontent.com/u/2412177?v=4)](https://github.com/loevgaard "loevgaard (67 commits)")[![igormukhingmailcom](https://avatars.githubusercontent.com/u/6544038?v=4)](https://github.com/igormukhingmailcom "igormukhingmailcom (44 commits)")[![Roshyo](https://avatars.githubusercontent.com/u/9363039?v=4)](https://github.com/Roshyo "Roshyo (4 commits)")[![Sophiebb](https://avatars.githubusercontent.com/u/60259602?v=4)](https://github.com/Sophiebb "Sophiebb (2 commits)")[![techbech](https://avatars.githubusercontent.com/u/1520592?v=4)](https://github.com/techbech "techbech (1 commits)")

---

Tags

phpsyliussylius-pluginsymfony

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/loevgaard-sylius-barcode-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/loevgaard-sylius-barcode-plugin/health.svg)](https://phpackages.com/packages/loevgaard-sylius-barcode-plugin)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[pugx/autocompleter-bundle

Add an autocomplete type to forms

93861.6k3](/packages/pugx-autocompleter-bundle)

PHPackages © 2026

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