Needed to do some fuzzy matches in with a 5000+ row array to account for differently spelled company names across two APIs. Played with , and in . Found similar_text worked best by far for this perhaps. Ended up using array_walk to accomplish this with ease. Would love to hear others experiences in doing fuzzy matches between arrays.

#laravel #levenshtein #soundex #similar_text #php

Last updated 3 years ago