Registry / utility / rocketfellows-country-vat-format-validator-interface

rocketfellows-country-vat-format-validator-interface

JSON →
library1.1.0phppackagistunverified

Provides an interface for validating VAT number formats across different countries.

composer require rocketfellows/country-vat-format-validator-interface
INSTALL
IMPORT
SIG · ROCKETFELLOWS-COUN
R
rocketfellows-country-vat-format-validator-interface
utilityphpv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CountryVatFormatValidatorInterface
use Rocketfellows\CountryVatFormatValidatorInterface\CountryVatFormatValidatorInterface;

Example implementing the VAT format validator interface.

use Rocketfellows\CountryVatFormatValidatorInterface\CountryVatFormatValidatorInterface; $validator = new class implements CountryVatFormatValidatorInterface { public function validate(string $vatNumber, string $countryCode): bool { return true; } }; $result = $validator->validate('DE123456789', 'DE');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
rocketfellows-country-vat-format-validator-interface — pip install rocketfellows-country-vat-format-validator-interface · libregistry