定制 mimmi20/device-detector-factory 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mimmi20/device-detector-factory

最新稳定版本:5.0.3

Composer 安装命令:

composer require mimmi20/device-detector-factory

包简介

Provides a factory for matomo/device-detector to use with Laminas

README 文档

README

Latest Stable Version Latest Unstable Version License

Code Status

codecov Coverage Status Average time to resolve an issue Percentage of issues still open Mutation testing badge

Introduction

This component provides a factory to create a matomo device detector with a config.

Requirements

This library requires PHP 8.3+.

Installation

Run

composer require mimmi20/device-detector-factory

Usage with Laminas and Mezzio

You'll need to add configuration and register the services you'd like to use. There are number of ways to do that but the recommended way is to create a new config file config/autoload/detector.config.php

Configuration

config/autoload/detector.config.php

<?php
return [
    'device-detector' => [
        'discard-bot-information' => true, // Optional: defaults to false
        'skip-bot-detection' => true, // Optional: defaults to false
        'cache' => 'data-cache', // Optional, may be a string or an instance of \Laminas\Cache\Storage\StorageInterface
    ],
];

License

This package is licensed using the MIT License.

Please have a look at LICENSE.md.

统计信息

  • 总下载量: 387
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固