Setono / BotDetectionBundle

Easily detect bots in your Symfony application
MIT License
7 stars 3 forks source link

Add benchmark against matomo device detector #1

Open loevgaard opened 3 years ago

kaurov commented 3 months ago

As for me, it is big question for what this library is necessary at all when Device Detector has isBot() function itself.

Compare their bots lists: https://github.com/Setono/BotDetectionBundle/blob/master/src/BotDetector/Bots.php https://github.com/matomo-org/device-detector/blob/master/regexes/bots.yml

loevgaard commented 3 months ago

Hi, @kaurov

I agree. The only thing this does is to optimize the checking for common bots. See https://github.com/Setono/BotDetectionBundle/blob/master/src/BotDetector/BotDetector.php#L49-L50