PHPackages                             thelia/loyalty-module - 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. thelia/loyalty-module

ActiveThelia-module[Utility &amp; Helpers](/categories/utility)

thelia/loyalty-module
=====================

2.0.1(3y ago)15069LGPL-3.0+PHPCI passing

Since Dec 28Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/thelia-modules/Loyalty)[ Packagist](https://packagist.org/packages/thelia/loyalty-module)[ RSS](/packages/thelia-loyalty-module/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (7)Dependencies (1)Versions (9)Used By (0)

\#Loyalty

With this module, you can reward the loyalty of your customers.

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

[](#installation)

**This module require [Credit account](https://github.com/thelia-modules/CreditAccount) module.**

with git

```
$ cd local/modules
$ git clone https://github.com/thelia-modules/Loyalty

```

If you want to download the zip from github, rename the unzip folder as `Loyalty`, github suffix the zip and the folder with the current branch name.

After that, you just have to activate the module in your back-office.

How to use it
-------------

[](#how-to-use-it)

Once activated, go to the configuration page for this module and configure all the slice price you want.

After each order, the customer will receive the amount you configure in his credit account.

Loops
-----

[](#loops)

One loop exists in this module. This loop can list all slice configure in the admin. So you can create a page for explain to your customers The rules for having some more credits.

### loyalty loop

[](#loyalty-loop)

**input argument**

None

**output arguments**

```
* $ID : loyalty slice id
* $MIN : minimum order amount for this slice
* $MAX : maximum order amount for this slice
* $AMOUNT : amount added to the customer's credit account

```

version history
---------------

[](#version-history)

0.6 : single slice mode added

###  Health Score

44

—

FairBetter than 91% of packages

Maintenance61

Regular maintenance activity

Popularity19

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~440 days

Recently: every ~556 days

Total

7

Last Release

1196d ago

Major Versions

0.8 → 2.0.02021-10-07

0.9 → 2.0.12023-03-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![lunika](https://avatars.githubusercontent.com/u/767834?v=4)](https://github.com/lunika "lunika (7 commits)")[![gillesbourgeat](https://avatars.githubusercontent.com/u/7335734?v=4)](https://github.com/gillesbourgeat "gillesbourgeat (5 commits)")[![Yochima](https://avatars.githubusercontent.com/u/7498669?v=4)](https://github.com/Yochima "Yochima (2 commits)")[![roadster31](https://avatars.githubusercontent.com/u/2197734?v=4)](https://github.com/roadster31 "roadster31 (2 commits)")[![julescournut](https://avatars.githubusercontent.com/u/26310511?v=4)](https://github.com/julescournut "julescournut (1 commits)")[![NicolasBarbey](https://avatars.githubusercontent.com/u/26166378?v=4)](https://github.com/NicolasBarbey "NicolasBarbey (1 commits)")[![anoziere](https://avatars.githubusercontent.com/u/118798868?v=4)](https://github.com/anoziere "anoziere (1 commits)")[![lopes-vincent](https://avatars.githubusercontent.com/u/6057206?v=4)](https://github.com/lopes-vincent "lopes-vincent (1 commits)")

### Embed Badge

![Health badge](/badges/thelia-loyalty-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-loyalty-module/health.svg)](https://phpackages.com/packages/thelia-loyalty-module)
```

PHPackages © 2026

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