title: Laravel 5 Full Text Search
body: <p>I have a db table with fields first_name and last_name. I need to check if the credit card holder name given by Asiapay is part of my traveling party (records in my db table). Issue is that credit card holder given is full name (single field)</p>
  
  <p>So far my options are:</p>
  
  <ul>
  <li>using fulltext search</li>
  <li>using <a href="https://github.com/atomescrochus/laravel-string-similarities" rel="noreferrer">https://github.com/atomescrochus/laravel-string-similarities</a> but not sure what percentage to consider correct</li>
  </ul>
  
  <p>I need some suggestions for other libraries and strategies regarding string comparison</p>
  
  <p>PS: I just cannot compare concatenated first_name and last_name vs holder_name since there are cases that names in traveling documents are different than the ones in a person's credit card (eg. <strong>"John Foo Doe"</strong> in passport vs <strong>"John Doe"</strong> in credit card)</p>