PHPackages                             cba85/eu-vat-rates - 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. cba85/eu-vat-rates

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

cba85/eu-vat-rates
==================

A PHP component to grab up-to-date VAT rates for any European member state

215PHPCI passing

Since May 31Pushed 5y ago1 watchersCompare

[ Source](https://github.com/cba85/eu-vat-rates)[ Packagist](https://packagist.org/packages/cba85/eu-vat-rates)[ RSS](/packages/cba85-eu-vat-rates/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (3)Used By (0)

European VAT rates
==================

[](#european-vat-rates)

A PHP package to grab up-to-date VAT rates for any European Union member state.

This package uses  to obtain its data for the VAT rates.

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

[](#installation)

Install using Composer :

```
$ composer require cba85/eu-vat-rates dev-master

```

Usage
-----

[](#usage)

```
$rates = new Rates;

/**
 * Get VAT rate of a country
 */
$rate = $rates->getRate('FR');

/**
 * Get specific VAT rate of a country
 */
$rate = $rates->getRate('FR', 'reduced2');
```

You'll find more examples in the `example` folder.

Tests
-----

[](#tests)

If VAT rates evolve, change the results expected.

```
$ ./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/RatesTest
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f8dae5dac31d448b3ae83800c9c084dd576e2c5ef16b6313710048b2904c5db?d=identicon)[cba85](/maintainers/cba85)

---

Top Contributors

[![cba85](https://avatars.githubusercontent.com/u/720547?v=4)](https://github.com/cba85 "cba85 (12 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

phpvat-rates

### Embed Badge

![Health badge](/badges/cba85-eu-vat-rates/health.svg)

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

PHPackages © 2026

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