matomo/device-detector
PHP library to parse User-Agent strings and Browser Client Hints to detect device type (desktop/mobile/tablet/TV, etc.), client apps (browsers, media players, bots), operating systems, and hardware brand/model. Composer-installable and well tested.
Architecture fit: The package integrates seamlessly with Laravel's PHP-based architecture. It leverages PSR-6/PSR-16 caching standards, which align with Laravel's cache system, and includes a dedicated LaravelCache bridge for native integration. The service container can easily manage dependencies, and middleware patterns fit naturally for user-agent processing.
Integration feasibility: High feasibility via Composer. Installation is trivial (composer require matomo/device-detector), and the provided LaravelCache example simplifies caching setup. Middleware or service providers can encapsulate detection logic without major refactoring.
Technical risk: Critical concern: "Last release: 2026-01-21" and "Last update: 2026/02/15" in documentation are future-dated (impossible), suggesting data inaccuracies or potential abandonment. Dependents listed as "0" contradicts Matomo's usage of the library, raising questions about real-world adoption. LGPL-3.0 license is acceptable but requires compliance checks.
Key questions:
How can I help you explore Laravel packages today?