Serial Generator Class

Serial Generator Class

Released 7 years ago , Last update 7 years ago

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

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


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'
  • 5 1
  • 4 0
  • 3 0
  • 2 0
  • 1 0
1 Reviews Read Reviews


14 day 14-day money-back guarantee


Personal License

  • Perpetual license

  • 1 site, unlimited servers

  • No distribution (hosted use only)

  • Commercial use

1 license From » $4.99 View Licenses

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.

Or enter your name and Email
No comments have been posted yet.