Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Vat Calculator Laravel Package

mpociot/vat-calculator

EU VAT/MOSS calculator for Laravel/Cashier or standalone PHP. Calculate gross prices and tax rates by country/postal code, handle B2B/B2C rules, and validate EU VAT numbers. Simple API via facade or instance.

View on GitHub
Deep Wiki
Context7
3.23.0
3.22.0
3.11.0
3.10.1
3.4.0
3.2.0
3.1.1
3.1.0

Added

3.0.2

Fixed

  • Correct VAT and postal code for Campione d'Italia (#138)
3.0.1

Fixed

  • Fix some Italian postal codes (#137)
3.0.0

Changed

  • Drop support for PHP 7.2 and below (#131)
  • Drop support for Laravel 5.8 and below (#131)
  • Refactor validation rule (#133)

Fixed

  • Remove incorrect VAT rates (#130)

Removed

  • Remove front-end functionality (#128)
  • Remove translations (5097c75)
  • Remove IP lookup functionality (#129)
2.5.2

Changed

  • Using get_headers to avoid 404 status code with file_get_contents (#119)
  • Throw unavailable exception for UK VAT API (3c937b4)
2.5.1

Fixed

  • Fix invalid UK VAT number validation (6e674e4)
2.5.0

Added

  • Validate UK VAT numbers (#116)
2.4.2

Fixed

  • Revert temporary german VAT change (#102)
  • Use HTTPS for links (#105)
  • Fix IPV6 resolving (#83, 3c6b16d)
2.0.0
  • VAT rate detection now supports ZIP codes, to take edge cases into consideration
1.7.1
  • Fixed bug when using multiple Validator extensions in Laravel
1.7.0
  • Added Cashier 6 support
1.6.3
  • Added "shouldCollectVAT" method
1.6.2
  • Added polish validation rule message
1.6.1
  • Added support for vat-taxrate as an extra field for the JS frontend integration. Thanks @orottier
1.6.0
  • Added support for setting your own "business country code" which will be used when selling to business customers inside your own country. Previous versions returned the wrong VAT rate (0%).
1.5.5
  • Romania reduces VAT to 20% in 2016
1.5.4
  • Fixed issue in vat_calculator.js
1.5.3
  • Added valid_vat_id and calculate JS success callback
1.5.2
  • Added greek tax rate
1.5.1
  • Added spark asset publishing
1.5.0
  • Added VAT Calculator JS
1.4.4
  • The package can now be used without Laravel
1.4.3
  • Updated standard VAT rate for Luxembourg
1.4.2
  • Added facade explanation to README and fixed a bug in the ServiceProvider
1.4.1
  • Fixed getClientIP tests
1.4.0
  • Added IP to country lookup.
1.3.0
  • Added Laravel Validator extension.
1.2.1
  • Added chainable methods for the Laravel Cashier integration, to allow a more readable command.
1.2.0
  • Added Laravel Cashier integration
1.1.0
  • Added VAT number validation.
1.0.0
  • First release.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky