PHPackages                             brille24/sylius-special-price-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. [Database &amp; ORM](/categories/database)
4. /
5. brille24/sylius-special-price-plugin

AbandonedSylius-plugin[Database &amp; ORM](/categories/database)

brille24/sylius-special-price-plugin
====================================

Provides time based special pricing for Sylius.

1.11.0(3y ago)227.6k1[2 issues](https://github.com/Brille24/SyliusSpecialPricePlugin/issues)[2 PRs](https://github.com/Brille24/SyliusSpecialPricePlugin/pulls)MITPHPPHP ^8.0

Since Feb 6Pushed 1y ago3 watchersCompare

[ Source](https://github.com/Brille24/SyliusSpecialPricePlugin)[ Packagist](https://packagist.org/packages/brille24/sylius-special-price-plugin)[ RSS](/packages/brille24-sylius-special-price-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (31)Versions (26)Used By (0)

Sylius Special Price Plugin
===========================

[](#sylius-special-price-plugin)

[![Build Status](https://camo.githubusercontent.com/a5a60099b69ff986775fa3b0c059217bb76cf623798328ec6ecc48728fcda104/68747470733a2f2f7472617669732d63692e6f72672f4272696c6c6532342f53796c6975735370656369616c5072696365506c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Brille24/SyliusSpecialPricePlugin)

Warning

THIS PLUGIN IS NO LONGER MAINTAINED. Please use the catalog promotion functionality (in 1.13 and later) for this.

This plugin provides a configuration for prices that are just active within a certain date range. So if you want to change the price for a product between the 1st May and the 1st of April, this plugin is for you.

### Installation

[](#installation)

1. Require the plugin

    ```
    composer require brille24/sylius-special-price-plugin
    ```
2. Register the plugin in your `bundles.php`

    ```
    return [
        ...
        Brille24\SyliusSpecialPricePlugin\Brille24SyliusSpecialPricePlugin::class => ['all' => true],
    ];
    ```
3. Import plugin config

    ```
    imports:
        ...
        - { resource: "@Brille24SyliusSpecialPricePlugin/Resources/config/config.yml" }
    ```
4. Add migrations

    1. Copy migrations from `tests/Application/migration` to your desired spot for migrations.
5. Override ProductVariant entity

    1. Write new class which will use ProductVariantSpecialPricableTrait and implement ProductVariantSpecialPricableInterface
    2. Override the models class in config ```
        sylius_product:
            resources:
                product_variant:
                    classes:
                        model: Brille24\SyliusSpecialPricePlugin\Entity\ProductVariant
        ```
6. Add mapping and validation

    1. Mapping ```

        ```
    2. Validation ```

                    sylius

        ```
7. Override `SyliusAdminBundle/ProductVariant/Tab/_details.html.twig`

    Add this:

    ```

        {% include 'Brille24SyliusSpecialPricePlugin::_specialPrice.html.twig' with {
            'form': form.channelSpecialPricings
        } %}

    ```
8. Update the database schema

    ```
    bin/console doctrine:schema:update --force
    ```

### Running the test server

[](#running-the-test-server)

From the plugin root directory, run the following commands:

```
(cd tests/Application && yarn install)
(cd tests/Application && yarn build)
(cd tests/Application && bin/console assets:install --symlink)

(cd tests/Application && bin/console doctrine:database:create)
(cd tests/Application && bin/console doctrine:schema:update --force)
(cd tests/Application && bin/console sylius:fixtures:load)

(cd tests/Application && bin/console server:start)
```

### Testing

[](#testing)

In order to run the phpspec tests you need to run the command `vendor/bin/phpspec run`In order to run the phpunit tests you need to run the command `vendor/bin/phpunit`In order to run the behat tests you need to run the command `vendor/bin/behat`

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance11

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 62.9% 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 ~72 days

Recently: every ~159 days

Total

22

Last Release

1140d ago

Major Versions

0.2.0 → v1.4.52019-06-03

0.3.0 → v1.4.72019-08-13

PHP version history (4 changes)0.1.0PHP ^7.2

1.7PHP ^7.3

1.10PHP ^7.4 || ^8.0

1.11.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/64c07f8e28dafc37f7cdd920a3a87e0e45fa8c04486c828b3528cc5548b7567f?d=identicon)[brille24](/maintainers/brille24)

---

Top Contributors

[![JakobTolkemit](https://avatars.githubusercontent.com/u/30623938?v=4)](https://github.com/JakobTolkemit "JakobTolkemit (22 commits)")[![mamazu](https://avatars.githubusercontent.com/u/14860264?v=4)](https://github.com/mamazu "mamazu (8 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![JordiDekker](https://avatars.githubusercontent.com/u/6410216?v=4)](https://github.com/JordiDekker "JordiDekker (2 commits)")

---

Tags

pricesspecial-pricessyliussyliussylius-pluginbrille24

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/brille24-sylius-special-price-plugin/health.svg)

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

###  Alternatives

[dedi/sylius-seo-plugin

Sylius SEO plugin by Dedi.

28138.9k](/packages/dedi-sylius-seo-plugin)[tilleuls/sylius-click-n-collect-plugin

Click and Collect plugin for Sylius, to sell and deliver securely during the COVID-19 pandemic.

7814.2k](/packages/tilleuls-sylius-click-n-collect-plugin)[odiseoteam/sylius-report-plugin

Plugin for Sylius to make customizable reports.

3275.4k](/packages/odiseoteam-sylius-report-plugin)

PHPackages © 2026

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