title: Best Open Source WURFL alternative
body: <p>I am looking to do some device detection in PHP and I am looking into a few options. The one that looks the best right now is WURFL <a href="http://wurfl.sourceforge.net/">http://wurfl.sourceforge.net/</a>. But I am very leery of it because of its non open source license. I am also wondering if it is even relevant because the documentation websites look kind of dated. </p>
  
  <p>Other options like WURFL include 
  <a href="http://deviceatlas.com/">http://deviceatlas.com/</a> and <a href="http://51degrees.mobi/">http://51degrees.mobi/</a> but neither of these are even close to open source.</p>
  
  <p>Then there are the PHP only solutions like
  <a href="http://detectmobilebrowsers.mobi">http://detectmobilebrowsers.mobi</a> , <a href="http://code.google.com/p/php-mobile-detect/">http://code.google.com/p/php-mobile-detect/</a> and <a href="http://detectmobilebrowsers.com/">http://detectmobilebrowsers.com/</a> but these all use some form of regex that looks ugly.</p>
  
  <p>The ideal solution for me would be an open source XML file or database that I can store locally, and that can be updated as needed.</p>
  
  <p>Am I dreaming? What solution do you prefer for detecting mobile users?</p>