PHPBenelux / PromoCodes

Generating promo codes now made easy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:PHP 100.0%