PHPackages                             evoluted/pricemodifier - 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. evoluted/pricemodifier

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

evoluted/pricemodifier
======================

Generic price modifer package

2.1.0(7y ago)018.5k3MITPHP

Since Nov 21Pushed 7y ago4 watchersCompare

[ Source](https://github.com/EvolutedNewMedia/pricemodifier)[ Packagist](https://packagist.org/packages/evoluted/pricemodifier)[ RSS](/packages/evoluted-pricemodifier/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)DependenciesVersions (9)Used By (0)

PriceModifier
=============

[](#pricemodifier)

> An extendable, framework agnostic price modification package, ideal for handling complex discount types in e-commerce applications.

---

Overview
--------

[](#overview)

The aim of this plugin is to provide a reusable way of handling discounts on e-commerce systems. It does this by using discount modifiers, which individually handle your different types of discounts (e.g a percentage off), and discount restrictions, which allow you to use your own database to do things like setting a discount code to only be valid with certain products, under certain conditions.

Using your own discount restriction handler, this allows you to create complex discount options such as:

- Buy 2, get 1 free
- Buy 1, get second half price
- Get product B free when you buy product A

Because of how the basket object is managed, it makes it possible to not only add discounts onto a complete basket, but you can also add new basket items either via your discount restrictions, or discount price modifiers.

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

[](#installation)

This project can be installed via [Composer](https://getcomposer.org):

```
$ composer require evoluted/pricemodifer
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~137 days

Recently: every ~187 days

Total

7

Last Release

2634d ago

Major Versions

0.0.1 → 1.0.02016-11-21

1.0.0 → 2.0.02017-02-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/249d852b103b90c391be045688903bad7da259b49f235695e629c70ff9706b3b?d=identicon)[evoluted](/maintainers/evoluted)

---

Top Contributors

[![rickmills](https://avatars.githubusercontent.com/u/103707?v=4)](https://github.com/rickmills "rickmills (10 commits)")[![biggins](https://avatars.githubusercontent.com/u/1213577?v=4)](https://github.com/biggins "biggins (5 commits)")

---

Tags

basketcommercediscountdiscount-modifiersdiscount-restrictionse-commerceecommercephpprice-modifier

### Embed Badge

![Health badge](/badges/evoluted-pricemodifier/health.svg)

```
[![Health](https://phpackages.com/badges/evoluted-pricemodifier/health.svg)](https://phpackages.com/packages/evoluted-pricemodifier)
```

###  Alternatives

[hanson/vbot

高度自定义的微信机器人，能够实现群控制，自动回复，消息转发，防撤回，留言统计等功能

4.4k14.4k12](/packages/hanson-vbot)[pid/speakingurl

Generate of so called 'static' or 'Clean URL' or 'Pretty URL' or 'nice-looking URL' or 'Speaking URL' or 'user-friendly URL' or 'SEO-friendly URL' or 'slug' from a string.

1.1k5.3k1](/packages/pid-speakingurl)[bmidget/kohana-formo

Formo is a form module for Kohana 3 that lets you work with forms as objects

1328.4k](/packages/bmidget-kohana-formo)

PHPackages © 2026

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