Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 858 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 858 Bytes

CommonInputValidations

Library of classes containing methods for validating common user input organized by country.

Lybrary containing common methods that validate user suplied input. (eg. phone numbers, ID, Drivers License, SSN etc.. ) Each class is organized by country. (eg. CommonUK) Each class should contain methods for validating related data of the Country.

Rules:

The methods should be defined as static.

The methods should implement Single Responsability Pattern. Keep it simple.

The naming convention should adhere to the predefined pattern.

If you do not find a class of methods for your country, please create one. (eg. CommonFR)

The Goal is to create a repository of commonly used validation methods organized by country to help programmers from various locations.

Feel free to use, share, correct and update.

Best Regards Onnix