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.0 | 2026-05-24 12:32:40 UTC |
4.10.0 | 2026-04-23 13:05:57 UTC |
4.9.0 | 2026-04-23 12:32:05 UTC |
3.74.4 | 2026-04-15 08:43:14 UTC |
2.8.47 | 2026-04-14 12:32:34 UTC |
2.8.46 | 2026-04-14 09:03:36 UTC |
4.8.10 | 2026-01-09 16:21:59 UTC |
2.8.45 | 2023-11-07 21:57:25 UTC |
2.8.44 | 2023-11-07 21:24:18 UTC |
2.8.43 | 2023-11-01 13:40:08 UTC |
2.8.42 | 2023-10-27 18:34:38 UTC |
3.74.3 | 2023-10-27 16:28:04 UTC |
3.74.2 | 2023-10-17 18:28:47 UTC |
3.74.0 | 2022-12-04 15:37:32 UTC |
2.8.41 | 2022-11-08 18:31:26 UTC |
2.8.40 | 2022-11-08 16:30:55 UTC |
2.8.39 | 2022-02-17 19:24:25 UTC |
2.8.38 | 2022-02-14 12:38:04 UTC |
2.8.37 | 2021-02-19 21:22:57 UTC |
2.8.36 | 2021-02-13 14:35:52 UTC |
显示 84 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 3.74.4 |
php 8.0 | 4.9.0 |
php 8.1 | 4.9.0 |
php 8.2 | 4.11.0 |
php 8.3 | 4.11.0 |
php 8.4 | 4.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" } } }常见问题
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 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- league/oauth2-client
- anourvalar/eloquent-serialize
- paragonie/sodium_compat
- giggsey/locale
- clue/redis-react
- doctrine/common
- clue/redis-protocol
- symfony/web-profiler-bundle
- laravel/passport
- laravel/reverb
- symfony/polyfill-php72
- giggsey/libphonenumber-for-php
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/mobiledetect/mobiledetectlib) [](https://vigia.coredls.cloud/packagist/mobiledetect/mobiledetectlib) [](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}