Skip to content
This repository was archived by the owner on Dec 5, 2018. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

phpserial

PHP Serial Key Generator, very simple but effective. Includes random keys, multipart random keys and custom formatted keys.

Simple and easy.

<?

require_once('/path/to/src/php-serial.class.php');

// Random key with length of 10
var_dump( Serial::random(10) ); // String(10) "5KGH89FSE4"

// We can generate keys defining the number of parts, length 
// of each part and seperating character parameters
var_dump( Serial::newSerial(4, 5, '-') ); // String(23) "UWB46-8SEER-6A46W-HADP8"

//Custom formatted keys can also be generated, using `*` to donate where to replace the characters
var_dump( Serial::costumSerial('H*E*L*L*O*W*O*R*L*D') ); // String(19) "HFEIL5LSO9WPO2RSLCD"

?>

About

PHP Serial Key Generator, very simple but effective. Includes random keys, multipart random keys and custom formatted keys.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages