Libraries tagged by string compare
someshwer/version-comparison
15 Downloads
This Laravel package compares two version strings and gives the Boolean result. This package also resolves version expressions like (($v > 1.24.0) && ($v < 1.25.1.0)) || ($v == 1.26 || $v == 1.27) where $v must be substituted with the version number to be compared. Hence the package can be used for version expressions evaluation.
jcaillot/laminas-before-validator
6 Downloads
Laminas Validator; Let you compare two date strings
phpspec/php-diff
61780719 Downloads
A comprehensive library for generating differences between two hashable objects (strings or arrays).
jfcherng/php-diff
5848594 Downloads
A comprehensive library for generating differences between two strings in multiple formats (unified, side by side HTML etc).
phootwork/lang
28311064 Downloads
Missing PHP language constructs
henzeb/enumhancer
369936 Downloads
Your framework-agnostic Swiss Army knife for PHP 8.1+ native enums
edgaras/strsim
58308 Downloads
Collection of string similarity and distance algorithms in PHP including Levenshtein, Damerau-Levenshtein, Jaro-Winkler, and more
orklah/psalm-insane-comparison
1571564 Downloads
Detects possible insane comparison ("string" == 0) to help migrate to PHP8
neos/diff
1139233 Downloads
This is a comprehensive library for generating differences between two strings or arrays
jblond/php-diff
131252 Downloads
A comprehensive library for generating differences between two hashable objects (strings or arrays).
iteks/laravel-enum
19330 Downloads
A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.
andreas-glaser/php-helpers
88229 Downloads
A comprehensive collection of PHP utility functions for array manipulation, string operations, date handling, HTML generation, form building, validation, and more. Modern PHP 8.2+ library with full type safety.
henrik9999/string-similarity
15479 Downloads
Finds degree of similarity between two strings, based on Dice's Coefficient, which is mostly better than Levenshtein distance.
bl4ckbon3/strsim
1702 Downloads
Collection of string similarity and distance algorithms in PHP including Levenshtein, Damerau-Levenshtein, Jaro-Winkler, and more
phalcongelist/php-diff
435651 Downloads
A comprehensive library for generating differences between two hashable objects (strings or arrays).