FakerPHP / Faker

Faker is a PHP library that generates fake data for you
https://fakerphp.github.io
Other
3.47k stars 330 forks source link

Add iranian bank cards #867

Open mokhosh opened 3 months ago

mokhosh commented 3 months ago

What is the reason for this PR?

This adds a provider for Iranian Farsi (fa_IR) locale, to provide valid Iranian debit card numbers.

I added the debitCardNumber method as an alias, because while the algorithm is the same, there are no credit cards in Iran.

Author's checklist

Summary of changes

I haven't overrode the methods. I've just overrode the arrays that provide payment provider data.

Review checklist

stale[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 1 week if no further activity occurs. Thank you for your contributions.

mokhosh commented 2 months ago

[further activity]