Registry /
utility / rocketfellows-country-vat-format-validator-interface
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.
Audit
Dependencies
No dependency data recorded yet.