Mask credit card number
Last updated
Last updated
While working with credit cards it often needed to mask the number or card holder name. Here's the class you may use for that purpose. It is possible to configure mask symbol and the length of shown chars.
Payum is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and our customers. If you'd like to join them, please consider: