Download the PHP package bambamboole/tools without Composer
On this page you can find all versions of the php package bambamboole/tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bambamboole/tools
More information about bambamboole/tools
Files in bambamboole/tools
Package tools
Short Description Tools: tax rates, VAT id validation and more.
License MIT
Homepage https://github.com/bambamboole/tools
Informations about the package tools
bambamboole/tools
A small toolbox for European commerce plumbing:
- Tax rates from the EU TEDB database (SOAP)
- VAT id validation via VIES (SOAP)
- Exchange rates from the ECB reference rates, including full history
- Currency conversion built on brick/money
All amounts and rates are Brick\Math\BigDecimal — no floats.
Requirements
- PHP 8.4+ with
ext-soapandext-dom
Installation
Usage
Caching
The tax rate and exchange rate clients accept any Illuminate\Contracts\Cache\Repository
(usable standalone, no Laravel app required). Fetched feeds are cached in bulk, historical
days indefinitely, today's rates for 15 minutes. When the cache store supports atomic locks
(Redis, Valkey, memcached, database), concurrent misses are collapsed into a single fetch.
Laravel
The service provider is auto-discovered and wires everything against your default cache store — inject and go:
Or use the auto-discovered Tools facade:
Testing
License
MIT
All versions of tools with dependencies
ext-dom Version *
ext-soap Version *
brick/money Version ^0.14.1
illuminate/cache Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
ricorocks-digital-agency/soap Version ^4.0