PHPackages                             marcel-strahl/price-calculator - 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. marcel-strahl/price-calculator

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

marcel-strahl/price-calculator
==============================

A service to calculate prices

v6.0.0(8mo ago)43653MITPHPPHP &gt;=8.1CI failing

Since Jan 26Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/Dropelikeit/PriceCalculator)[ Packagist](https://packagist.org/packages/marcel-strahl/price-calculator)[ RSS](/packages/marcel-strahl-price-calculator/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (7)Versions (13)Used By (0)

### Price calculator

[](#price-calculator)

[![Workflow status](https://github.com/Dropelikeit/PriceCalculator/actions/workflows/ci.yml/badge.svg)](https://github.com/Dropelikeit/PriceCalculator/actions/workflows/ci.yml/badge.svg)[![Coverage Status](https://camo.githubusercontent.com/a222242d962fbe54f564637b2887870e1a4cc92946f63dd262d7cf7a87aa5b80/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f44726f70656c696b6569742f507269636543616c63756c61746f722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Dropelikeit/PriceCalculator?branch=master)[![Mutation testing badge](https://camo.githubusercontent.com/77785d485422c94ed96fb6d08e72bd8ab3488800643364e9135601cd127d8e20/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d25324644726f70656c696b656974253246507269636543616c63756c61746f722532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/Dropelikeit/PriceCalculator/master)[![Monthly Downloads](https://camo.githubusercontent.com/4a59499ac953a91e20f5988798377548287602220b9235bc7a677e4f58cbab25/68747470733a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f70726963652d63616c63756c61746f722f642f6d6f6e74686c79)](https://packagist.org/packages/marcel-strahl/price-calculator)[![Daily Downloads](https://camo.githubusercontent.com/09cda36f07c3ea5d50fa115d6e28675c8a9514377e1437a2fd939711a9ea23bb/68747470733a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f70726963652d63616c63756c61746f722f642f6461696c79)](https://packagist.org/packages/marcel-strahl/price-calculator)[![Total Downloads](https://camo.githubusercontent.com/1fcb580a12ea6b6dd711200407b75b9703630a743be948d3351a2d3f8bae3958/68747470733a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f70726963652d63616c63756c61746f722f646f776e6c6f616473)](https://packagist.org/packages/marcel-strahl/price-calculator)[![Latest Stable Version](https://camo.githubusercontent.com/782400cd68df101415615253a0bbb0b706855c4c28675c42f092518153fe23ee/68747470733a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f70726963652d63616c63756c61746f722f762f737461626c65)](https://packagist.org/packages/marcel-strahl/price-calculator)[![Latest Unstable Version](https://camo.githubusercontent.com/eea6785416e8d99c3e6cc05ed77282648f1d5ca8d471601ad0ac288fea8d8dbe/68747470733a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f70726963652d63616c63756c61746f722f762f756e737461626c65)](https://packagist.org/packages/marcel-strahl/price-calculator)[![License](https://camo.githubusercontent.com/55e8ab405c965dcc963294c90a86234128ba3d954b3164c262cb1fd8185b07ad/68747470733a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f70726963652d63616c63756c61746f722f6c6963656e7365)](https://packagist.org/packages/marcel-strahl/price-calculator)[![composer.lock](https://camo.githubusercontent.com/b8f1e1099a0bb5de14b45bf2a50d26f5fc088566dc72050c0cc8bd6ca9f914fd/68747470733a2f2f706f7365722e707567782e6f72672f6d617263656c2d73747261686c2f70726963652d63616c63756c61746f722f636f6d706f7365726c6f636b)](https://packagist.org/packages/marcel-strahl/price-calculator)

The Price Calculator is designed to simplify the calculation of gross and net prices in cents to euro and euro to cent. Our package is 100% tested! We will gladly accept your corrections and improvements via a pull request. Please always add testing!

You are also welcome to use the Issue Tracker to set bugs, improvements or upgrade requests.

### Installation

[](#installation)

```
composer require marcel-strahl/price-calculator
```

### Supported PHP Versions

[](#supported-php-versions)

PHPPackage VersionStatus&gt;=^8.1v6.x.xSupported&lt;=^8.0v5.0.1Not supported^7.4v4.x.xNot supported&lt;^7.4&lt;=v3.x.xNot supported### Documentation

[](#documentation)

- [Price Calculator](docs/price-calculator.md)
- [VAT Calculator](docs/vat-calculator.md)
- [Discount Calculator](docs/discount-calculator.md)
- [Unit Converter](docs/unit-converter.md)
- [Entities](docs/entities.md)
- [Price Formatter](docs/price-formatter.md)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance61

Regular maintenance activity

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity79

Established project with proven stability

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

Recently: every ~412 days

Total

12

Last Release

248d ago

Major Versions

v1.0.0-alpha2 → v2.1.12018-04-28

v2.1.2 → v3.0.02019-12-03

v3.0.0 → v4.0.02020-02-25

v4.1.0 → v5.0.0-beta2021-09-12

v5.0.1 → v6.0.02025-09-06

PHP version history (7 changes)v1.0.0-alphaPHP &gt;=7.1

v2.1.1PHP &gt;=7.2

v3.0.0PHP &gt;=7.3

v4.0.0PHP &gt;=7.4

v4.1.0PHP ^7.4|^8.0

v5.0.0PHP ^8.0

v5.0.1PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b1466bcdcfaf07bd8e1f0fdf5b453c619e2a02adb85cd8aac6e39e0451ecaec?d=identicon)[Dropelikeit](/maintainers/Dropelikeit)

---

Top Contributors

[![Dropelikeit](https://avatars.githubusercontent.com/u/13794109?v=4)](https://github.com/Dropelikeit "Dropelikeit (98 commits)")

---

Tags

centscurrency-convertereuroprice-calculatorprice-formattercalculatorprice

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/marcel-strahl-price-calculator/health.svg)

```
[![Health](https://phpackages.com/badges/marcel-strahl-price-calculator/health.svg)](https://phpackages.com/packages/marcel-strahl-price-calculator)
```

###  Alternatives

[markrogoyski/ipv4-subnet-calculator

Network calculator for subnet mask and other classless (CIDR) network information.

177813.7k6](/packages/markrogoyski-ipv4-subnet-calculator)[ballen/distical

A distance (Lat/Long) calculation library for PHP

40180.2k2](/packages/ballen-distical)

PHPackages © 2026

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