PHP Classes

PHP Compare Strings: Compares strings to determine similarity level

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 1,197 All time: 3,165 This week: 206Up
Version License PHP version Categories
php-compare-strings 1Free For Educatio...5Algorithms, PHP 5, Text processing


This class can be used to compares strings to determine similarity level.

It takes two strings to compare and split the strings into words.

The class uses the Levenshtein algorithm to compare the words and determine the overall similarity level.

Innovation Award
PHP Programming Innovation award nominee
May 2010
Number 11
There are many algorithms that can be used to compare two strings. One of such algorithms Levenshtein. It can return the similarity level of two words.

This class provides a more enhanced solution to determine the similarity of strings with multiple words using Levenshtein algorithm.

Manuel Lemos
Picture of Er. Rochak Chauhan
  Performance   Level  
Name: Er. Rochak Chauhan is available for providing paid consulting. Contact Er. Rochak Chauhan .
Classes: 54 packages by
Country: India India
Age: 45
All time rank: 21 in India India
Week rank: 91 Down9 in India India Down
Innovation award
Innovation award
Nominee: 15x

Winner: 4x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example Script
Plain text file Class Example Script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,165
This week:206Up
User Ratings User Comments (2)
 All time
just what I needed
8 years ago (JS)
Very Good Script.
12 years ago (Samarjit Acharya)