title: percentage-based string comparison in php
body: <p>I'm looking for a library in PHP that will allow me to compare two strings, and determine if they similar.
  For example:</p>
  
  <pre><code>apple apple 100%
  apple aple  80%
  </code></pre>
  
  <p>and so forth.
  any ideas?</p>