PHPackages                             snake-tn/reward-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. snake-tn/reward-plugin

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

snake-tn/reward-plugin
======================

Add reward program to sylius application

1093[4 issues](https://github.com/Snake-Tn/SyliusRewardPlugin/issues)PHP

Since Nov 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Snake-Tn/SyliusRewardPlugin)[ Packagist](https://packagist.org/packages/snake-tn/reward-plugin)[ RSS](/packages/snake-tn-reward-plugin/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build status on Linux](https://camo.githubusercontent.com/17979c7f3410c25bfd5de9f420a7c47770694a8b97d650a45766ebe49d807207/68747470733a2f2f6170692e7472617669732d63692e6f72672f536e616b652d546e2f53796c697573526577617264506c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Snake-Tn/SyliusRewardPlugin)

Reward plugin for sylius
========================

[](#reward-plugin-for-sylius)

About
-----

[](#about)

Reward plugin for *sylius* is used to give reward points to loyal customers under certain conditions. Customers can spend their earned points to have discount on future orders.

Use case
--------

[](#use-case)

Reward plugin is customizable to satisfy the majority of e-commerce requirments. However, it's developed in a manner to make it easy for customization.

#### The reward program target which customers?

[](#the-reward-program-target-which-customers)

Per default, any customer is part of reward program. However, it's possible to restrict target customers to a specific list of groups.

#### When a customer earn reward points?

[](#when-a-customer-earn-reward-points)

A customer will earn reward points if he satisfy certain rules, bellow a list of v1 rules.

- Give customers **\[X\]** reward points on every **\[Y\]** euro spent.
- Give customers **\[X\]** reward points on every order having a total higher than **\[Y\]** euro.
- Give customers **\[X\]** reward points on every product bought from **\[L\]** products list.

Also, an administrator can manually give any customer a number of reward points.

#### How a customer can spend his earned reward points?

[](#how-a-customer-can-spend-his-earned-reward-points)

Per default, reward points can be used to apply discounts on any product. However, it's possible to black-list certain products.

Setting up the plugin
---------------------

[](#setting-up-the-plugin)

#### 1) Download the plugin

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

```
$ composer require snake-tn/reward-plugin
```

#### 2) Enable the plugin

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

Enable the plugin by adding the following line in the app/AppKernel.php file of your sylius project:

```
// app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new \SnakeTn\Reward\RewardPlugin(),
        ];

        // ...
    }
}
```

#### 3) Update routing configuration

[](#3-update-routing-configuration)

// TODO

#### 4) Update DB schema

[](#4-update-db-schema)

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

#### 5) Cleare cache

[](#5-cleare-cache)

```
$ bin/console cache:clear
```

User guide
----------

[](#user-guide)

//TODO

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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://www.gravatar.com/avatar/76b74b405ac569a5f0bcb9705b300e1dc7ecf73448036bb4bc0c09ab759c543d?d=identicon)[Snake-Tn](/maintainers/Snake-Tn)

---

Top Contributors

[![kooliahmd](https://avatars.githubusercontent.com/u/6509121?v=4)](https://github.com/kooliahmd "kooliahmd (27 commits)")

---

Tags

pluginsyliussylius-pluginsymfony

### Embed Badge

![Health badge](/badges/snake-tn-reward-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/snake-tn-reward-plugin/health.svg)](https://phpackages.com/packages/snake-tn-reward-plugin)
```

###  Alternatives

[felixnagel/t3extblog

A record based blog extension for TYPO3 CMS. Easy to use and packed with features (incl. comments, subscriptions for comments and posts, Wordpress like subscription manager, reasonable email sending in FE and BE, GDPR ready, BE modules, Dashboard widgets, RSS, Sitemap, ...). Flexible and powerful!

3522.5k](/packages/felixnagel-t3extblog)[amin3520/anar

:description

272.3k](/packages/amin3520-anar)

PHPackages © 2026

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