PHPackages                             rapidez/customer-pricing - 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. rapidez/customer-pricing

ActiveLibrary

rapidez/customer-pricing
========================

Support for the justbetter/magento2-customer-pricing magento extension

5.0.0(2mo ago)01.5k↓50%GPL-3.0PHPPHP ^8.1

Since Sep 18Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/rapidez/customer-pricing)[ Packagist](https://packagist.org/packages/rapidez/customer-pricing)[ Docs](https://github.com/rapidez/customer-pricing)[ RSS](/packages/rapidez-customer-pricing/feed)WikiDiscussions master Synced 1mo ago

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

Rapidez Customer Pricing
========================

[](#rapidez-customer-pricing)

This package adds Rapidez support for the [justbetter/magento2-customer-pricing magento extension](https://github.com/justbetter/magento2-customer-pricing). **This package will not work without this extension.**

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

[](#installation)

```
composer require rapidez/customer-pricing

```

Usage
-----

[](#usage)

This adds to the Product model:

- A `customerPricing` relation that retrieves all customer prices and tiers for the given product
- The `customerPrice(int $customerId, int $quantity = 1)` function which returns a customer price at the given tier, or null when none is found.
- The `customerTierPrices(int $customerId)` function which returns all of the tier prices for a given customer (if any).

This package also adds a simple frontend implementation that can be used by adding the `customer-price` component onto your page. For example:

```

    @{{ customerPrice || addToCart.price }}

```

Requests made for this component get bundled together (collected over 100ms), allowing this to be used the same way in product listings.

License
-------

[](#license)

GNU General Public License v3. Please see [License File](LICENSE) for more information.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance83

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.5% 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 ~129 days

Total

5

Last Release

88d ago

Major Versions

0.0.1 → 4.0.02025-07-18

4.x-dev → 5.0.02026-02-19

PHP version history (2 changes)0.0.1PHP ^8.1|^8.2

4.0.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![royduin](https://avatars.githubusercontent.com/u/1703233?v=4)](https://github.com/royduin "royduin (6 commits)")[![Jade-GG](https://avatars.githubusercontent.com/u/32514269?v=4)](https://github.com/Jade-GG "Jade-GG (3 commits)")[![indykoning](https://avatars.githubusercontent.com/u/15870933?v=4)](https://github.com/indykoning "indykoning (2 commits)")

---

Tags

rapidezcustomer-pricing

### Embed Badge

![Health badge](/badges/rapidez-customer-pricing/health.svg)

```
[![Health](https://phpackages.com/badges/rapidez-customer-pricing/health.svg)](https://phpackages.com/packages/rapidez-customer-pricing)
```

PHPackages © 2026

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