Skip to content

PHPBenelux/PromoCodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

PromoCode

PromoCode is a generator for quickly generating promo codes. Clean, quick and simple.

Usage

<?php

require_once 'PromoCode.php';

$promoCode = new PromoCode();
$promoCode->generate(10);
echo implode(PHP_EOL, $promoCode->getCodes());

This code will generate a list of 10 promo codes you can use for whatever you might need them.

Complete with unit test

About

Generating promo codes now made easy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages