Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

11
DeviceDetector Laravel Bridge
Post Body

Hey all, I've been working on a game lately, and one of the things I needed was a user agent parser, I really fell in love with Piwik's parser. I couldn't find any good Laravel integrations (specifically to make certain keys available in a request).

So I wrote a small bridge and middleware, then I realized shortly after that it probably is best made into a tiny stand alone library for others to use. Which I've done.

If anyone has an interest, feel free to check it out:

https://github.com/dungeonworx/devicedetector

https://packagist.org/packages/dungeonworx/laravel-devicedetector

Original package/author of DeviceDetector:

https://packagist.org/packages/piwik/device-detector

https://github.com/matomo-org/device-detector

Author
Account Strength
100%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
12,571
Link Karma
1,284
Comment Karma
11,095
Profile updated: 8 hours ago
Posts updated: 10 hours ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 years ago