# laravel/vat-calculator

Handle all the hard stuff related to EU MOSS tax/vat regulations, the way it should be.

Repository: https://github.com/laravel/vat-calculator
Canonical: https://ross.abutalabs.com/products/vat-calculator
Language: PHP
License: MIT
License Family: permissive
Topics: vat, vat-calculation, taxes, laravel, php, cashier, eu-moss-tax
Last push: 2026-07-24T00:43:14+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 70, longevity 100
- inputs: {"age_days": 4020, "days_push": 41, "days_rel": 120, "gap_med": 32, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1285, forks 104 (observed 2026-08-28T04:04:14.737163+00:00)

## What it is
A PHP library for calculating EU VAT rates and handling MOSS tax regulations, with optional Laravel and Cashier integration. It supports gross price calculation by country and postal code, company/business handling, and VAT number validation.

## Use cases
- calculate EU VAT for a price by country code
- validate a VAT number format
- handle EU MOSS tax regulations in billing
- compute gross price from net price with postal code rules
- integrate VAT calculation into Laravel Cashier subscriptions
- use VAT rates in a standalone PHP application

## When to choose
- you sell digital goods or services in the EU and need VAT rates per country
- you use Laravel or Cashier and want drop-in VAT support
- you need VAT number validation in a PHP app

## When to avoid
- you need full tax compliance beyond EU VAT (e.g., US sales tax)
- you need guaranteed legally correct tax calculations without accountant review
- your stack is not PHP

## Facets
- artifact type: library
- maturity: active
- function: sdk, developer-tools
- domain: fintech, e-commerce, web-development, backend
- platform: php, self-hosted
- tags: vat, eu-moss, taxes, laravel, cashier, billing

## Member repositories
- laravel/vat-calculator (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:14.737163+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:56:40.204688+00:00, confidence not recorded.
  - readme: https://github.com/laravel/vat-calculator (fetched 2026-08-28T04:04:14.737163+00:00, sha dd23cd5a7f06)
- Data as of 2026-08-30T08:39:29.467469+00:00.
