PHPackages                             andriy/magento2-luxury-tax - 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. andriy/magento2-luxury-tax

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

andriy/magento2-luxury-tax
==========================

Magento 2 module: Luxury Tax

1.0.3(9mo ago)071MITPHPPHP &gt;=7.4

Since Sep 9Pushed 9mo agoCompare

[ Source](https://github.com/potamon17/luxuryTax)[ Packagist](https://packagist.org/packages/andriy/magento2-luxury-tax)[ RSS](/packages/andriy-magento2-luxury-tax/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (5)Used By (0)

Andriy\_LuxuryTax
=================

[](#andriy_luxurytax)

Magento 2 module that introduces a custom **Luxury Tax** feature.

---

🚀 Features
----------

[](#-features)

- Adds a new total (`luxury_tax`) to **Cart**, **Checkout**, and **Order totals**
- Persists values in `sales_order`, `sales_invoice`, and `sales_creditmemo` tables
- Displays **Luxury Tax** in the Admin panel on **Order**, **Invoice**, and **Credit Memo** view pages
- Highlights rows in the **Sales Orders grid** depending on the `luxury_tax_condition_amount` value:
    - `< 100` → ⚪ white
    - `100–1000` → 🟡 yellow
    - `> 1000` → 🟢 green

---

📦 Installation
--------------

[](#-installation)

### Via Composer

[](#via-composer)

```
composer require andriy/magento2-luxury-tax:dev-main
bin/magento module:enable Andriy_LuxuryTax
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
```

### Manual Installation

[](#manual-installation)

1. Copy the module to: app/code/Andriy/LuxuryTax
2. 2. Run the following Magento commands:

```
bin/magento module:enable Andriy_LuxuryTax
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
```

⚙️ Technical Details
--------------------

[](#️-technical-details)

- **Custom total calculation**:
    `Andriy\LuxuryTax\Model\Quote\Address\Total\LuxuryTax`
- **Data persistence** across Quote → Order → Invoice / Credit Memo via fieldsets and observers
- **Admin totals extended with plugins on**:

    - `Magento\Sales\Block\Adminhtml\Order\Totals`
    - `Magento\Sales\Block\Adminhtml\Order\Invoice\Totals`
    - `Magento\Sales\Block\Adminhtml\Order\Creditmemo\Totals`
- **Orders grid** extended with `luxury_tax_condition_amount`;
    rows highlighted via JS depending on the value

---

🛠 Requirements
--------------

[](#-requirements)

- Magento Open Source / Commerce **2.4.x**
- PHP **&gt;= 7.4**

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance55

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

297d ago

### Community

Maintainers

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

---

Top Contributors

[![AndriyHoneycomb](https://avatars.githubusercontent.com/u/204741410?v=4)](https://github.com/AndriyHoneycomb "AndriyHoneycomb (8 commits)")

### Embed Badge

![Health badge](/badges/andriy-magento2-luxury-tax/health.svg)

```
[![Health](https://phpackages.com/badges/andriy-magento2-luxury-tax/health.svg)](https://phpackages.com/packages/andriy-magento2-luxury-tax)
```

###  Alternatives

[elgentos/regenerate-catalog-urls

Regenerate Catalog URL Rewrites (products, categories, cms pages)

2842.6M](/packages/elgentos-regenerate-catalog-urls)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27703.7k4](/packages/nosto-module-nostotagging)[tig/postnl-magento2

TIG Magento 2 PostNL extension

59570.5k5](/packages/tig-postnl-magento2)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

245.0k2](/packages/zwernemann-module-withdrawal)

PHPackages © 2026

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