PHP Classes

PHP Captcha: Generate images with text for human validation

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 4,832 All time: 567 This week: 309Up
Version License Categories
phpcaptcha 1.0BSD LicenseGraphics, Validation


This class can generate images with a random text that can be used to perform real human user validation also known as CAPTCHA (Completely Automated Public Turing Test to Tell Computers and Humans Apart).

The class can generate an image with a random text with a given length.

The text is rendered with a given font using the GD library functions. The font may be one in the GDF format available in a given directory.

The Class Generates PNG Images as of Now

Note: By Today Evening I Will Be coming Up with a Full Functional Example and A ReadMe.txt to Help the Users

I Will Also Try to Upload GDF Fonts By the Same Time.

Picture of Gobinath Mallaiyan
Name: Gobinath Mallaiyan <contact>
Classes: 11 packages by
Country: United States United States
Age: 42
All time rank: 456 in United States United States
Week rank: 578 Down70 in United States United States Down

  Files folder image Files  
File Role Description
Files folder imageDocs (1 file)
Accessible without login Plain text file captcha.php Example sample
Plain text file PHPCaptcha.class.php Class Base Class

  Files folder image Files  /  Docs  
File Role Description
  Accessible without login Plain text file readme.txt Doc. Class related information 2KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Random Password Generator Download .zip .tar.gz This class can be used for random String Generation Conditional
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:567
This week:309Up
 User Ratings  
 All time