{"action":"created","issue":{"url":"https://api.github.com/repos/gikeymarcia/Collector/issues/90","labels_url":"https://api.github.com/repos/gikeymarcia/Collector/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/gikeymarcia/Collector/issues/90/comments","events_url":"https://api.github.com/repos/gikeymarcia/Collector/issues/90/events","html_url":"https://github.com/gikeymarcia/Collector/issues/90","id":59170732,"number":90,"title":"Better user agent information","user":{"login":"gikeymarcia","id":1952096,"avatar_url":"https://avatars.githubusercontent.com/u/1952096?v=3","gravatar_id":"","url":"https://api.github.com/users/gikeymarcia","html_url":"https://github.com/gikeymarcia","followers_url":"https://api.github.com/users/gikeymarcia/followers","following_url":"https://api.github.com/users/gikeymarcia/following{/other_user}","gists_url":"https://api.github.com/users/gikeymarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/gikeymarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gikeymarcia/subscriptions","organizations_url":"https://api.github.com/users/gikeymarcia/orgs","repos_url":"https://api.github.com/users/gikeymarcia/repos","events_url":"https://api.github.com/users/gikeymarcia/events{/privacy}","received_events_url":"https://api.github.com/users/gikeymarcia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gikeymarcia/Collector/milestones/1","html_url":"https://github.com/gikeymarcia/Collector/milestones/Collector%202.0","labels_url":"https://api.github.com/repos/gikeymarcia/Collector/milestones/1/labels","id":972990,"number":1,"title":"Collector 2.0","description":"Big release with lots of new features/bugfixes.  Will require some re-education, will likely break compatibility with lots of old stuff.","creator":{"login":"gikeymarcia","id":1952096,"avatar_url":"https://avatars.githubusercontent.com/u/1952096?v=3","gravatar_id":"","url":"https://api.github.com/users/gikeymarcia","html_url":"https://github.com/gikeymarcia","followers_url":"https://api.github.com/users/gikeymarcia/followers","following_url":"https://api.github.com/users/gikeymarcia/following{/other_user}","gists_url":"https://api.github.com/users/gikeymarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/gikeymarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gikeymarcia/subscriptions","organizations_url":"https://api.github.com/users/gikeymarcia/orgs","repos_url":"https://api.github.com/users/gikeymarcia/repos","events_url":"https://api.github.com/users/gikeymarcia/events{/privacy}","received_events_url":"https://api.github.com/users/gikeymarcia/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":11,"state":"open","created_at":"2015-02-10T02:51:32Z","updated_at":"2015-04-20T22:18:46Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-02-27T00:50:38Z","updated_at":"2015-07-11T03:53:27Z","closed_at":null,"body":"We should integrate [this github project](https://github.com/ua-parser/uap-php) into our code so we can give people much more useful information about which browser each person is coming from.\r\n\r\nA demo is [at this page](http://uaparser.dmolsen.com/).\r\n\r\nI think there is a way in git to install other repos as sub-modules which will make it very easy to keep their parsing library up to date on our end. So long as the function calls remain the same it will seamlessly keep improving as the user agent parser people push new code.\r\n\r\nHere is sample code from their read me documentation\r\n\r\n````PHP\r\nrequire_once 'vendor/autoload.php';\r\nuse UAParser\\Parser;\r\n\r\n$ua = \"Mozilla/5.0 (Macintosh; Intel Ma...\";\r\n\r\n$parser = Parser::create();\r\n$result = $parser->parse($ua);\r\n\r\nprint $result->ua->family;            // Safari\r\nprint $result->ua->major;             // 6\r\nprint $result->ua->minor;             // 0\r\nprint $result->ua->patch;             // 2\r\nprint $result->ua->toString();        // Safari 6.0.2\r\nprint $result->ua->toVersion();       // 6.0.2\r\n\r\nprint $result->os->family;            // Mac OS X\r\nprint $result->os->major;             // 10\r\nprint $result->os->minor;             // 7\r\nprint $result->os->patch;             // 5\r\nprint $result->os->patchMinor;        // [null]\r\nprint $result->os->toString();        // Mac OS X 10.7.5\r\nprint $result->os->toVersion();       // 10.7.5\r\n\r\nprint $result->device->family;        // Other\r\n\r\nprint $result->toString();            // Safari 6.0.2/Mac OS X 10.7.5\r\nprint $result->originalUserAgent;     // Mozilla/5.0 (Macintosh; Intel Ma...\r\n````\r\n\r\nStumbled onto this project from the discussion going on in isssue #89 about HTML5 support."},"comment":{"url":"https://api.github.com/repos/gikeymarcia/Collector/issues/comments/120569831","html_url":"https://github.com/gikeymarcia/Collector/issues/90#issuecomment-120569831","issue_url":"https://api.github.com/repos/gikeymarcia/Collector/issues/90","id":120569831,"user":{"login":"adamblake","id":6201730,"avatar_url":"https://avatars.githubusercontent.com/u/6201730?v=3","gravatar_id":"","url":"https://api.github.com/users/adamblake","html_url":"https://github.com/adamblake","followers_url":"https://api.github.com/users/adamblake/followers","following_url":"https://api.github.com/users/adamblake/following{/other_user}","gists_url":"https://api.github.com/users/adamblake/gists{/gist_id}","starred_url":"https://api.github.com/users/adamblake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamblake/subscriptions","organizations_url":"https://api.github.com/users/adamblake/orgs","repos_url":"https://api.github.com/users/adamblake/repos","events_url":"https://api.github.com/users/adamblake/events{/privacy}","received_events_url":"https://api.github.com/users/adamblake/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T03:53:27Z","updated_at":"2015-07-11T03:53:27Z","body":"Ah okay, that makes sense"}}