PHPackages                             tavy315/sylius-labels-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. tavy315/sylius-labels-plugin

ActiveSylius-plugin

tavy315/sylius-labels-plugin
============================

Sylius plugin for product labels.

v0.6.0(9mo ago)19084MITPHPCI failing

Since May 7Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/tavy315/SyliusLabelsPlugin)[ Packagist](https://packagist.org/packages/tavy315/sylius-labels-plugin)[ RSS](/packages/tavy315-sylius-labels-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (26)Versions (9)Used By (0)

Sylius Labels Plugin
====================

[](#sylius-labels-plugin)

[![Latest Version](https://camo.githubusercontent.com/5a182aff99fbe14bcf8fc7531a584e14104a896ed757b1417c00e0fecc1d6789/68747470733a2f2f706f7365722e707567782e6f72672f746176793331352f73796c6975732d6c6162656c732d706c7567696e2f762f737461626c65)](https://packagist.org/packages/tavy315/sylius-labels-plugin)[![Latest Unstable Version](https://camo.githubusercontent.com/bc52afeb92d9b5256748b9bcd40dcc0aecb6f3c104c1b497cb9cb90e84097903/68747470733a2f2f706f7365722e707567782e6f72672f746176793331352f73796c6975732d6c6162656c732d706c7567696e2f762f756e737461626c65)](https://packagist.org/packages/tavy315/sylius-labels-plugin)[![Software License](https://camo.githubusercontent.com/b064251ba12216de7495d094af01ea5f454d02f0241316622b10f10b9e80fc3d/68747470733a2f2f706f7365722e707567782e6f72672f746176793331352f73796c6975732d6c6162656c732d706c7567696e2f6c6963656e7365)](LICENSE)[![Build Status](https://github.com/tavy315/SyliusLabelsPlugin/workflows/build/badge.svg)](https://github.com/tavy315/SyliusLabelsPlugin/actions)

The labels plugin for [Sylius](https://sylius.com/) allows you to configure nice badges for different set of products based on specific rules. It provides a common set of configuration by default and is very flexible when it comes to adding new ones.

Supports Doctrine ORM driver only.

Screenshots
-----------

[](#screenshots)

Shop:

[![Screenshot showing labels on product list](docs/images/shop-product-labels.png)](docs/images/shop-product-labels.png)

Admin:

[![Screenshot showing admin labels list](docs/images/admin-labels-index.png)](docs/images/admin-labels-index.png)

[![Screenshot showing admin product labels](docs/images/admin-product-labels.png)](docs/images/admin-product-labels.png)

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

[](#installation)

### Step 1: Install the plugin

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

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

```
$ composer require tavy315/sylius-labels-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 `config/bundles.php` file of your project *before* (!) `SyliusGridBundle`:

```

    ```

If you haven't done so already, configure the `sylius_product` resource to point to your `App\Entity\Product` like we did in an example [here](tests/Application/config/packages/_sylius.yaml).

### Step 6: Update your database schema

[](#step-6-update-your-database-schema)

```
$ php bin/console doctrine:migrations:diff
$ php bin/console doctrine:migrations:migrate
```

### Step 7: Add labels to your product templates

[](#step-7-add-labels-to-your-product-templates)

Add labels to your product box template. By default, you should use `templates/bundles/SyliusShopBundle/Product/__mainImage.html.twig`path. Check out our [\_\_mainImage.html.twig](tests/Application/templates/bundles/SyliusShopBundle/Product/__mainImage.html.twig) file for a reference.

Note the line: `{% include "@Tavy315SyliusLabelsPlugin/Shop/Product/Label/_labels.html.twig" with {'labels' : product.labels} %}`.

Usage
-----

[](#usage)

From now on you should be able to add new labels in the admin panel. Once you add one, you can attach it to products.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance58

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.2% 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 ~273 days

Recently: every ~348 days

Total

8

Last Release

279d ago

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

v0.3.0PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cbd7f8a77046b7b0503be37cb37014a87385e07c6636b60e55fdf7cd11b2117?d=identicon)[Octav](/maintainers/Octav)

---

Top Contributors

[![Prometee](https://avatars.githubusercontent.com/u/861820?v=4)](https://github.com/Prometee "Prometee (24 commits)")[![tavy315](https://avatars.githubusercontent.com/u/6184412?v=4)](https://github.com/tavy315 "tavy315 (22 commits)")

---

Tags

syliussylius-pluginsyliussylius-plugin

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tavy315-sylius-labels-plugin/health.svg)

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

###  Alternatives

[bitbag/cms-plugin

CMS plugin for Sylius applications.

2461.1M5](/packages/bitbag-cms-plugin)[sylius/invoicing-plugin

Invoicing plugin for Sylius.

901.0M2](/packages/sylius-invoicing-plugin)[sylius/refund-plugin

Plugin provides basic refunds functionality for Sylius application.

691.7M13](/packages/sylius-refund-plugin)[stefandoorn/sitemap-plugin

Sitemap Plugin for Sylius

851.0M](/packages/stefandoorn-sitemap-plugin)[sylius/paypal-plugin

PayPal plugin for Sylius.

451.4M4](/packages/sylius-paypal-plugin)[monsieurbiz/sylius-rich-editor-plugin

A Rich Editor plugin for Sylius.

75380.8k6](/packages/monsieurbiz-sylius-rich-editor-plugin)

PHPackages © 2026

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