Skip to content

CrossKnowledge/DeviceDetectBundle

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages