Fomtriok/PhoneValidator.JS
PhoneValidator.JS is a wrapper of two existing up-to-date libraries. It lets you validate phone numbers front-end with three lines of code and back-end with two lines of code. It also includes a green-valid/red-invalid field toggle, that may be disabled. Lastly, back-end you get the full international and domestic number, plus country name.
JavaScriptMIT