Setono / BotDetectionBundle

Easily detect bots in your Symfony application
MIT License
6 stars 2 forks source link

Add benchmark against matomo device detector #1

Open loevgaard opened 2 years ago

kaurov commented 2 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 2 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