Vigia

Packagist · packagist:mobiledetect/mobiledetectlib

mobiledetect/mobiledetectlib 活跃

Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.

最新稳定版本4.11.0
发布时间2026-05-24 12:32:40+00:00
安装composer require mobiledetect/mobiledetectlib
所需 PHP 版本 (composer.json)PHP >=8.2
许可证MIT
最新版本的安全公告暂无已知
最近核实2026-10-08 15:00:08 UTC
来源api.osv.dev, repo.packagist.org

维护情况

活跃度活跃
最近的稳定版本2026-05-24 12:32:40 UTC · 137 天前
过去 12 个月的稳定版本数7
已发布版本数84

仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。

版本历史

版本发布时间
4.11.02026-05-24 12:32:40 UTC
4.10.02026-04-23 13:05:57 UTC
4.9.02026-04-23 12:32:05 UTC
3.74.42026-04-15 08:43:14 UTC
2.8.472026-04-14 12:32:34 UTC
2.8.462026-04-14 09:03:36 UTC
4.8.102026-01-09 16:21:59 UTC
2.8.452023-11-07 21:57:25 UTC
2.8.442023-11-07 21:24:18 UTC
2.8.432023-11-01 13:40:08 UTC
2.8.422023-10-27 18:34:38 UTC
3.74.32023-10-27 16:28:04 UTC
3.74.22023-10-17 18:28:47 UTC
3.74.02022-12-04 15:37:32 UTC
2.8.412022-11-08 18:31:26 UTC
2.8.402022-11-08 16:30:55 UTC
2.8.392022-02-17 19:24:25 UTC
2.8.382022-02-14 12:38:04 UTC
2.8.372021-02-19 21:22:57 UTC
2.8.362021-02-13 14:35:52 UTC

显示 84 个版本中最新的 20 个。 JSON

版本兼容性

声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。

运行时最新兼容版本
php 7.43.74.4
php 8.04.9.0
php 8.14.9.0
php 8.24.11.0
php 8.34.11.0
php 8.44.11.0

把这些数据交给你的 AI 智能体

Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

添加到 Cursor添加到 VS Code★ 在 GitHub 上加星

任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

智能体技能(SKILL.md):告诉智能体何时使用 Vigia · 用于拉取请求的 GitHub Action

常见问题

mobiledetect/mobiledetectlib 的最新版本是什么?

mobiledetect/mobiledetectlib 的最新稳定版本是 4.11.0,发布于 2026-05-24。Vigia 于 2026-10-08 核实。

如何安装 mobiledetect/mobiledetectlib 的最新版本?

运行 composer require mobiledetect/mobiledetectlib。最新稳定版本是 4.11.0(2026-10-08 核实)。

mobiledetect/mobiledetectlib 是否已弃用?

否。注册表中 mobiledetect/mobiledetectlib 未被标记为已弃用。

mobiledetect/mobiledetectlib 需要哪个版本的 PHP?

mobiledetect/mobiledetectlib 4.11.0 声明的要求为:PHP >=8.2。

mobiledetect/mobiledetectlib 4.11.0 是否存在已知漏洞?

根据 Vigia 检查的数据,没有已知安全公告影响 mobiledetect/mobiledetectlib 4.11.0。

mobiledetect/mobiledetectlib 是否仍在维护?

mobiledetect/mobiledetectlib 在过去 12 个月内发布了 7 个稳定版本,最近一次在 137 天前。活跃度:活跃。

观察到的变更

自 Vigia 开始跟踪此软件包以来,尚未观察到变更。

相关软件包

用于 README 的徽章

展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:

[![version](https://vigia.coredls.cloud/badge/packagist/mobiledetect/mobiledetectlib/version.svg)](https://vigia.coredls.cloud/packagist/mobiledetect/mobiledetectlib)
[![maintained](https://vigia.coredls.cloud/badge/packagist/mobiledetect/mobiledetectlib/maintained.svg)](https://vigia.coredls.cloud/packagist/mobiledetect/mobiledetectlib)
[![status](https://vigia.coredls.cloud/badge/packagist/mobiledetect/mobiledetectlib/status.svg)](https://vigia.coredls.cloud/packagist/mobiledetect/mobiledetectlib)

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/packagist/mobiledetect/mobiledetectlib
GET https://vigia.coredls.cloud/v1/packages/packagist/mobiledetect/mobiledetectlib/versions/{version}