Money · Independent · 23 Oct 2026

ibericode/vat

PHP library for dealing with European VAT

← Money

In simple English

Selling digital products in Europe requires collecting the right tax rate for each buyer's country. This tool helps PHP programs look up those tax rates automatically. It checks if a customer-submitted tax number is real by talking to official government databases. It also guesses a buyer's country from their computer network address. It costs nothing to use, but you need your own programmer to add it to your website.

What it is

A PHP library for handling European tax rules, rates, and customer verifications. It connects to online databases to confirm tax numbers and fetches current tax percentages.

What it is good for

Solo developers building an online store in PHP who need to collect the correct European taxes without writing tax lookup logic from scratch.

Stars448
LicenceMIT
Latest2.2.2 (2026-10-20)checked 23 Oct 2026
Last code change2026-10-20
Written inPHP
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Checks tax numbers against official European databases so you know they are real.
  • Fetches up-to-date tax rates for every European Union country automatically.
  • Guesses customer countries from their IP addresses (an IP address is a unique number that identifies a device on the internet, such as a computer or phone).
Watch for
  • Requires PHP version 8.2 or higher, with the CURL, JSON, and SOAP extensions enabled on your server.
  • Depends on community-maintained tax rates, so changes depend on volunteers keeping records up to date.
  • Only works for PHP projects, so it is useless if your website runs on a different programming language.
Replaces

Writing custom tax rate lookup tables and manual VIES verification code.

Works well with

Composer (a tool for managing programming libraries and packages in PHP projects).

Also reviewed on Repo Radar
  • btcpayserver/btcpayserver7.8k stars

    Payment software you run yourself that takes Bitcoin into a wallet whose keys you hold.

  • hledgerorg/hledger4.8k stars

    Double-entry accounting over plain text files, with command-line, terminal, web and editor interfaces.

  • akaunting/akaunting10k stars

    Self-hosted invoicing and expense tracking, with the double-entry accounting sold separately as an add-on.

Install
composer require ibericode/vat

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Commerce & Finance › Payments & Billing › Sales Tax.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.