PHPackages                             hankit/germany-income-tax-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. hankit/germany-income-tax-calculator

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

hankit/germany-income-tax-calculator
====================================

This library calculates income taxes for the german tax system.

1.0(1y ago)01.1kMITPHPPHP &gt;=8.0

Since Dec 31Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Hank-IT/germany-income-tax-calculator)[ Packagist](https://packagist.org/packages/hankit/germany-income-tax-calculator)[ RSS](/packages/hankit-germany-income-tax-calculator/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Germany Income Tax Calculator

Description
===========

[](#description)

Calculate the income tax according to the stored formula for the provided year.

Tax amounts are returned as float. You can round them down to the next integer manually.

Installation
============

[](#installation)

`composer require hankit/germany-income-tax-calculator`

Example usage
=============

[](#example-usage)

```
use HankIT\GermanyIncomeTaxCalculator\GermanyIncomeTaxCalculator;

$calculator = new GermanyIncomeTaxCalculator;

print($calculator->calculate(2024, 50000);

```

Testing
=======

[](#testing)

This library has 100% test coverage and aims to keep it that way.

You can run tests using phpunit:

`phpunit`

License
=======

[](#license)

See LICENSE file

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

542d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b176c98fc9adff4e01a107cc2076bb217eb9ec964a3470e183866c3d71d7a10d?d=identicon)[AlexH269](/maintainers/AlexH269)

---

Top Contributors

[![AlexH-HankIT](https://avatars.githubusercontent.com/u/6757997?v=4)](https://github.com/AlexH-HankIT "AlexH-HankIT (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hankit-germany-income-tax-calculator/health.svg)

```
[![Health](https://phpackages.com/badges/hankit-germany-income-tax-calculator/health.svg)](https://phpackages.com/packages/hankit-germany-income-tax-calculator)
```

PHPackages © 2026

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