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
php-regex/regex-automata
0 Downloads
Compiles the regular subset of PCRE to automata to compare languages: equivalence, intersection, subset and example strings.
phpspec/php-diff
63959105 Downloads
A comprehensive library for generating differences between two hashable objects (strings or arrays).
jfcherng/php-diff
6823388 Downloads
A comprehensive library for generating differences between two strings in multiple formats (unified, side by side HTML etc).
phootwork/lang
32475947 Downloads
Missing PHP language constructs
orklah/psalm-insane-comparison
1605673 Downloads
Detects possible insane comparison ("string" == 0) to help migrate to PHP8
henzeb/enumhancer
442604 Downloads
Your framework-agnostic Swiss Army knife for PHP 8.1+ native enums
edgaras/strsim
93932 Downloads
Collection of string similarity and distance algorithms in PHP including Levenshtein, Damerau-Levenshtein, Jaro-Winkler, and more
bl4ckbon3/strsim
93940 Downloads
Collection of string similarity and distance algorithms in PHP including Levenshtein, Damerau-Levenshtein, Jaro-Winkler, and more
neos/diff
1186717 Downloads
This is a comprehensive library for generating differences between two strings or arrays
jblond/php-diff
136791 Downloads
A comprehensive library for generating differences between two hashable objects (strings or arrays).
iteks/laravel-enum
22302 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
90612 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
16934 Downloads
Finds degree of similarity between two strings, based on Dice's Coefficient, which is mostly better than Levenshtein distance.