PHP Classes

Social Security Number (SSN) Generator: Generate and validate US social security numbers

Recommend this page to a friend!

  Author Author  
Picture of Jacob Allred
Name: Jacob Allred <contact>
Classes: 1 package by
Country: United States United States
Age: 36
All time rank: 1407201 in United States United States
Week rank: 337 Up23 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to generate and validate United States social security numbers.

It can generate random numbers for testing purposes based on the social security administration specifications. The numbers do not exist but are well-formed, so they could be valid.

The class can also validate given social security numbers verifying whether they correspond to number ranges that have really been issued by the social security administration.

  Classes of Jacob Allred  >  Social Security Number (SSN) Generator  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Social Security Number (SSN) Generator
Base name: fngssn
Description: Generate and validate US social security numbers
Version: 1.2
PHP version: 5
License: GNU General Public License (GPL)
All time users: 2151 users
All time rank: 1817
Week users: 1 user
Week rank: 350 Up
Country specific: This package is specific mainly for applications used in United States United States .
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Validation Validation algorithms View top rated classes

  Innovation Award  
PHP Programming Innovation award nominee
May 2008
Number 6

Prize: One downloadable copy of PhpED Professional
Social security numbers are often used by United States institutions to identify individuals.

A site that needs to accept from the users this kind of identity information usually needs to test it with valid identity information.

This class can be used to generate valid United States social security numbers that can be used for testing sites.

Manuel Lemos

  User ratings  
Not enough user ratings

  Pages that reference this package  
Scrambling of HR data in an Oracle EBS instance
First I needed to generate a bunch of random but valid SSNs...

Latest pages that reference packages Latest pages that reference packages

  Applications that use this package  
Fake Name Generator
Free generator of names, addresses, phone numbers, SSNs, etc.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example usage
Plain text file fngssn.class.php Class Main class

Install with Composer Install with Composer - Download Download all files: fngssn.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.