PHPackages                             jonczek/tax-de - 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. [API Development](/categories/api)
4. /
5. jonczek/tax-de

ActiveLibrary[API Development](/categories/api)

jonczek/tax-de
==============

Tax library for german tax calculation.

1.0.0(6y ago)114LGPL-3.0-onlyPHPPHP &gt;=7.1CI failing

Since Feb 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/arkadiusjonczek/tax-de)[ Packagist](https://packagist.org/packages/jonczek/tax-de)[ RSS](/packages/jonczek-tax-de/feed)WikiDiscussions master Synced today

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

tax-de
======

[](#tax-de)

Tax library for german tax calculation written in PHP.

Overview
--------

[](#overview)

- Income Tax (Einkommensteuer)
- Trade Tax / Business Tax (Gewerbesteuer)
- Value Added Tax (Umsatzsteuer)
- Solidarity Tax (Solidaritätszuschlag)
- Rate Of Assessment / Trade Tax Factor (Hebesatz)
- Corporation Tax (Körperschaftsteuer)
- Cash Accounting (Einahmen-Überschuss-Rechnung)

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

[](#installation)

```
composer install jonczek/tax-de
```

Usage
-----

[](#usage)

### Value added tax calculation example

[](#value-added-tax-calculation-example)

Add tax entries to a repository:

```
$repository = new GenericRepository();
$repository->add(new ValueAddedTaxEntry(119));
$repository->add(new ValueAddedTaxEntry(238));
$repository->add(new ValueAddedTaxEntry(107, ValueAddedTaxRate::REDUCED_RATE));
$repository->add(new ValueAddedTaxEntry(214, ValueAddedTaxRate::REDUCED_RATE));
$repository->add(new ValueAddedTaxEntry(100, ValueAddedTaxRate::REDUCED_RATE, true));
$repository->add(new ValueAddedTaxEntry(200, ValueAddedTaxRate::FULL_RATE, true));
```

Calculate value added tax using the repository:

```
$calculator = new ValueAddedTaxCalculator();
$result = $calculator->calculate($repository);
```

Result:

```
Jonczek\Tax\Model\ValueAddedTaxCalculationResult Object
(
    [net:protected] => 900
    [gross:protected] => 1023
    [tax:protected] => 123
)
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

2262d ago

### Community

Maintainers

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

---

Top Contributors

[![arkadiusjonczek](https://avatars.githubusercontent.com/u/7071411?v=4)](https://github.com/arkadiusjonczek "arkadiusjonczek (28 commits)")

---

Tags

apibusinessbusiness-analyticsbusiness-intelligencebusiness-taxcompanygermangermanyincome-taxlibraryphptaxtax-calculatortax-ratetax-ratestax-rates-apitax-returnstaxestrade-taxvalue-added-tax

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jonczek-tax-de/health.svg)

```
[![Health](https://phpackages.com/badges/jonczek-tax-de/health.svg)](https://phpackages.com/packages/jonczek-tax-de)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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