Coupon Code Generator is a PHP script that allows you to create any number of random coupon codes. The generated coupon codes can contain a different set of characters and have different character lengths, option to add your own prefix and suffix. All generated coupon codes generated will be different, which makes it useful to provide discount coupon codes.
Recently, I was working on one of the the projects which needed coupon codes to be generated. So, I made a customizable interface to generate coupon codes.
- Support to add prefix- and -suffix
- Support to add custom coupon mask
- Support to customize only numbers, only alphabets, only symbols or all
- Support to generate coupons N lengths (N- any number)
- Generate N number of coupons
- Option to export codes to excel sheet
- Simple and clean interface
- Ability to add the PHP class file to your own project
- Well documented with comments
Source Code and Project file on Github