Download the PHP package addeeandra/vat-calculator without Composer
On this page you can find all versions of the php package addeeandra/vat-calculator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download addeeandra/vat-calculator
More information about addeeandra/vat-calculator
Files in addeeandra/vat-calculator
Download addeeandra/vat-calculator
More information about addeeandra/vat-calculator
Files in addeeandra/vat-calculator
Vendor addeeandra
Package vat-calculator
Short Description VAT Calculator
License MIT
Homepage https://github.com/addeeandra/vat-calculator
Package vat-calculator
Short Description VAT Calculator
License MIT
Homepage https://github.com/addeeandra/vat-calculator
Keywords laravelvat-calculator
Please rate this library. Is it a good library?
Informations about the package vat-calculator
VAT Calculator
Configurable VAT Rate & Calculator
Vat Calculator ID
This library is a simple VAT calculator.
What's in this library?
- VAT Rule 11%
- VAT Rule 12% with custom base (e.g. 11/12)
- VAT Calculator, when given VAT Rule, you can
- Calculate VAT of an amount (e.g.
AmountExclVat=100_000=>11_000) - Extract VAT from an amount (e.g.
AmountInclVat=111_000=>11_000) - Get total amount include VAT (e.g.
AmountExclVat=100_000=>111_000) - Get amount exclude VAT from (e.g.
AmountInclVat=111_000=>100_000)
- Calculate VAT of an amount (e.g.
Installation
You can install this package by simply running composer require addeeandra/vat-calculator
How to use
To use this library is simple.
See VatCalculatorTest for more examples.
Need Custom VAT Rule?
You can make custom VAT Rule using VatRuleBuilder considering how fluid is our country's regulation.

License
MIT License
All versions of vat-calculator with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2|^8.3|^8.4
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0
The package addeeandra/vat-calculator contains the following files
Loading the files please wait ...