PHP code example of cumanzorx07 / coupon_code_generator
1. Go to this page and download the library: Download cumanzorx07/coupon_code_generator library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cumanzorx07 / coupon_code_generator example snippets
use CouponGenerator\CouponGenerator;
$code = CouponGenerator::getInstance(5,5,'STORE')->generateCode();
echo $code;