PHPackages                             openprovider/vat - 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. openprovider/vat

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

openprovider/vat
================

Openprovider Calculator Vat Percent

1.0.4(10y ago)72651MITPHPPHP &gt;=5.4.0

Since Sep 11Pushed 10y ago21 watchersCompare

[ Source](https://github.com/openprovider/vat)[ Packagist](https://packagist.org/packages/openprovider/vat)[ Docs](http://openprovider.eu)[ RSS](/packages/openprovider-vat/feed)WikiDiscussions master Synced yesterday

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

Openprovider VAT Percentage Calculator
======================================

[](#openprovider-vat-percentage-calculator)

From 01-01-2015 rules on VAT calculation in EU has changed and this package helps us to meet the legislation requirements regarding VAT percentage calculation throughout and outside EU including VAT exemption regions (e.g. like Canarian Islands).

### Installation

[](#installation)

```
$ composer require openprovider/vat
```

### Usage

[](#usage)

```
$calc = new \Openprovider\Vat\Calculator('2015-12-16', []);
$calc->setProviderCountry('RU');
$calc->setCustomerCountry('RU');
$calc->setIsB2b(true);
$vat = $calc->calculate();
```

### Changelog

[](#changelog)

#### 1.0.4

[](#104)

- Release to open source

#### 1.0.3

[](#103)

- Rename method checkProvincesEu -&gt; isEuExemption

#### 1.0.2

[](#102)

- Update unit-tests

### Authors

[](#authors)

- [Yuriy Vasilev](https://github.com/yuriy-vasilev)
- [Evgeniy Karagodin](https://github.com/ekaragodin)

### Contributors

[](#contributors)

All the contributors are welcome. If you would like to be the contributor please accept some rules.

- The pull requests will be accepted only in "develop" branch
- All modifications or additions should be tested

Thank you for your understanding!

### License

[](#license)

[MIT Public License](https://github.com/openprovider/vat/blob/master/LICENSE)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 81.8% 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 ~32 days

Total

4

Last Release

3851d ago

### Community

Maintainers

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

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

---

Top Contributors

[![ekaragodin](https://avatars.githubusercontent.com/u/72644?v=4)](https://github.com/ekaragodin "ekaragodin (9 commits)")[![turboasm](https://avatars.githubusercontent.com/u/22725647?v=4)](https://github.com/turboasm "turboasm (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/openprovider-vat/health.svg)

```
[![Health](https://phpackages.com/badges/openprovider-vat/health.svg)](https://phpackages.com/packages/openprovider-vat)
```

PHPackages © 2026

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