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 http://wurfl.sourceforge.net/. 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.
Other options like WURFL include http://deviceatlas.com/ and http://51degrees.mobi/ but neither of these are even close to open source.
Then there are the PHP only solutions like http://detectmobilebrowsers.mobi , http://code.google.com/p/php-mobile-detect/ and http://detectmobilebrowsers.com/ but these all use some form of regex that looks ugly.
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.
Am I dreaming? What solution do you prefer for detecting mobile users?