crossknowledge/devicedetect-bundle

matomo/device-detector wrapped for Symfony2

Installs: 16 666

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 10

Forks: 4

Open Issues: 3

Type:symfony-bundle

5.1.0 2024-01-17 14:09 UTC

README

SensioLabsInsight Scrutinizer Code Quality Code Coverage Build Status Total Downloads Latest Stable Version

CrossKnowledge DeviceDetect Bundle

The CrossKnowledge/DeviceDetectBundle wraps matomo/device-detector with semantic D.I. configuration and twig helpers.

Features:

  • Configurable cache storage
  • Options to describe the DeviceDetector (discard_bot_information and skip_bot_detection)
  • Twig helpers: is_tablet(), is_desktop(), is_mobile()

More will likely come depending on our needs and external suggestions.

Documentation

The source of the documentation is stored in the Resources/doc/ folder

Read the Documentation for master

Installation

All the installation instructions are located in the documentation.

Release Notes

V2.0 (2020-01-06)

Change underlying library from piwik/device-detector to matomo/device-detector DeviceDetector lazy loading Minimum php version is 7.2 Upgraded phpunit version to 8 hhvm no more supported

License

This bundle is under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE

About

CrossKnowledgeDeviceDetectBundle is a CrossKnowledge initiative. See also the list of contributors. A couple of "distribution" (travis,readme.md, etc.) files are inspired from FriendsOfSymfony/FOSUserBundle's.

Contributions

Contributions are more than welcome. We will try to integrate them. As long as there is no BC, anything can be suggested.

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.

When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.