Important facts about commercial licenses

  • Licenses are perpetual. They do not expire and do not need to be renewed.
  • Licenses can be upgraded. You can upgrade to a more expensive license later paying only the difference in cost.
  • Pay attention to the distribution type - Hosted (sites / servers), binary (applications) or source (includes all the others). Choose according to your needs (more below).
  • All licenses allow commercial use unless otherwise indicated.
  • Read the full license by clicking on the icon.
  • Read more about licenses in our handy license guide.
$4

Personal License

1 site, unlimited servers No source distribution
You need to log-in or create an account
  • Create an account
  • Log-in
  • Please use your real name.
  • Account activation link will be sent to this address.
  • Minimum 8 characters

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

  • Released: Apr 25, 2011
    Last Update: Apr 25, 2011
  • Language: PHP
  • Time / costs savings: 2h / $120 *
(1 ratings)

Serial Generator Class

Serial Generator Class
Developed by Niels Kootstra, Released Apr 25, 2011

Create serial keys on the fly in multiple formats : random regular and multi-part strings and custom formats.

PHP

Tags: class , generator , php , serial

Serial Generator class is a simple to use class that generates serial keys for your projects. It's simple to use and requires no knowledge of PHP. Just add one line in your project and your done creating a key for your costumers.

Create several types of serial keys:

  • Random characters and numbers string
  • Multi-part random string (control the numbers of parts and separator)
  • Custom format keys

Examples

Random keys:

require 'serialgenerator.class.php';

// random key with 10 chars
echo Serial::random(10);
// Example output : '4WQZBXA66D'

Multi-part random keys:

require 'serialgenerator.class.php';

// We can control the parts via method parameters
echo Serial::newSerial(4,5,'-'); 
// Example output : 'USB46-8EWWR-6DPAE-HA648'

Custom format keys:

require 'serialgenerator.class.php';

echo Serial::costumSerial('B*I*N-P*R*E*S*S');
// Example output : 'BYIEN-PVR4EBSFS'
View all 1 reviews »

User Reviews

  • 2 of 2 people found this review helpful Chris Bearcroft 1 year ago
    A very good script, has to be one of the best serial generator written in PHP, I can now create custom serials for beta testers to access new apps of mine.
    Flag
    Was this helpful? Yes No
Read all 1 comments »

Questions & Comments


Or enter your name and Email
  • James Lowthorpe 10 months ago
    Can you add in the feature for recorded serial uses?
You must be logged-in to vote. Log-in to your account or register now.