PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Manufacturing Industry, Phone numbers & Zipcodes for many countries
PhoneNumber::validate("+49 171 1234567", "DE") // valid number, all ok
PhoneNumber::validate("+49 171 1234567tt", "DE") //passes validation, must be false
PhoneNumber::validate("+49 171 1234567ttttt", "DE") //catches as wrong number
package vertion: 2.3.6