PHPackages                             setono/sylius-loyalty-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. setono/sylius-loyalty-plugin

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

setono/sylius-loyalty-plugin
============================

Sylius plugin adding a loyalty program: an append-only points ledger, a rule engine, redemption, tiers and referrals.

00[5 PRs](https://github.com/Setono/sylius-loyalty-plugin/pulls)PHPCI passing

Since Jul 7Pushed 1mo agoCompare

[ Source](https://github.com/Setono/sylius-loyalty-plugin)[ Packagist](https://packagist.org/packages/setono/sylius-loyalty-plugin)[ RSS](/packages/setono-sylius-loyalty-plugin/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (14)Used By (0)

Setono SyliusLoyaltyPlugin
==========================

[](#setono-syliusloyaltyplugin)

[![Latest Version](https://camo.githubusercontent.com/5e409db23dcf979f39b1dfb787230c2e427f435fa37a244a09927a0eaa8f6fff/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d6c6f79616c74792d706c7567696e2f762f737461626c65)](https://packagist.org/packages/setono/sylius-loyalty-plugin)[![Software License](https://camo.githubusercontent.com/b14988a36557435e21a6836d7b7f324d592d205c284f694d84cfde5d67d0dcda/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f73796c6975732d6c6f79616c74792d706c7567696e2f6c6963656e7365)](LICENSE)[![Build Status](https://github.com/Setono/SyliusLoyaltyPlugin/workflows/build/badge.svg)](https://github.com/Setono/SyliusLoyaltyPlugin/actions)[![Code Coverage](https://camo.githubusercontent.com/7bb27bf84308f8a229b0b39df624ef870144aebc3b0b859e23fad66d9e04ed65/68747470733a2f2f636f6465636f762e696f2f67682f5365746f6e6f2f53796c6975734c6f79616c7479506c7567696e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Setono/SyliusLoyaltyPlugin)[![Mutation testing](https://camo.githubusercontent.com/624a8ba8ef006d000c3295a962d0e860de63d7c50ce63a9e6166d96760006d71/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532465365746f6e6f25324653796c6975734c6f79616c7479506c7567696e2532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/Setono/SyliusLoyaltyPlugin/master)

A loyalty program for [Sylius](https://sylius.com) 1.14. The plugin is built around an **append-only points ledger** (points are a financial liability, so balances are derived from the ledger and never hand-edited) and is delivered in three phases: **points core + rule engine**, **tiers**, and **referrals**. It integrates natively with Sylius — ResourceBundle CRUD, GridBundle admin listings, the adjustment system for redemption, state-machine callbacks, and shop template events — and is channel-aware (one loyalty account per customer per channel).

> **Status:** under active development; no release is tagged yet. Detailed installation instructions (order entity extension, schema diffing, cron commands) are added as the relevant features land.

Contributing / local development
--------------------------------

[](#contributing--local-development)

1. Run

    ```
    composer create-project --prefer-source --no-install --remove-vcs setono/sylius-loyalty-plugin:dev-master ProjectName
    ```

    or just click the `Use this template` button at the right corner of this repository.
2. Run

    ```
    cd ProjectName && composer install
    ```
3. From the plugin skeleton root directory, run the following commands:

    ```
    php init
    (cd tests/Application && yarn install)
    (cd tests/Application && yarn build)
    (cd tests/Application && bin/console assets:install)

    (cd tests/Application && bin/console doctrine:database:create)
    (cd tests/Application && bin/console doctrine:schema:create)

    (cd tests/Application && bin/console sylius:fixtures:load -n)
    ```
4. Start your local PHP server: `symfony serve` (see [https://symfony.com/doc/current/setup/symfony\_server.html](https://symfony.com/doc/current/setup/symfony_server.html) for docs)

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

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance61

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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://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 (34 commits)")

---

Tags

phpsyliussylius-pluginsymfony

### Embed Badge

![Health badge](/badges/setono-sylius-loyalty-plugin/health.svg)

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

PHPackages © 2026

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