Packagist · packagist:phpstan/phpstan-deprecation-rules
phpstan/phpstan-deprecation-rules 活跃
PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
| 最新稳定版本 | 2.0.5 |
|---|---|
| 发布时间 | 2026-07-22 06:50:43+00:00 |
| 安装 | composer require phpstan/phpstan-deprecation-rules |
| 所需 PHP 版本 (composer.json) | PHP ^7.4 || ^8.0 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-08 14:59:59 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-07-22 06:50:43 UTC · 78 天前 |
| 过去 12 个月的稳定版本数 | 2 |
| 已发布版本数 | 27 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
2.0.5 | 2026-07-22 06:50:43 UTC |
2.0.4 | 2026-02-09 13:21:14 UTC |
2.0.3 | 2025-05-14 10:56:57 UTC |
2.0.2 | 2025-04-26 19:59:57 UTC |
2.0.1 | 2024-11-28 21:56:36 UTC |
2.0.0 | 2024-10-26 16:04:11 UTC |
1.2.1 | 2024-09-11 15:52:35 UTC |
1.2.0 | 2024-04-20 06:39:48 UTC |
1.1.4 | 2023-08-05 09:02:04 UTC |
1.1.3 | 2023-03-17 07:50:08 UTC |
1.1.2 | 2023-01-17 16:14:21 UTC |
1.1.1 | 2022-12-13 14:26:20 UTC |
1.1.0 | 2022-12-07 16:49:11 UTC |
1.0.0 | 2021-09-23 11:02:21 UTC |
0.12.6 | 2020-12-13 10:20:54 UTC |
0.12.5 | 2020-07-21 14:52:30 UTC |
0.12.4 | 2020-05-30 18:02:31 UTC |
0.12.3 | 2020-05-20 20:57:34 UTC |
0.12.2 | 2020-01-12 16:25:40 UTC |
0.12.1 | 2020-01-01 17:38:00 UTC |
显示 27 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 2.0.5 |
php 8.0 | 2.0.5 |
php 8.1 | 2.0.5 |
php 8.2 | 2.0.5 |
php 8.3 | 2.0.5 |
php 8.4 | 2.0.5 |
把这些数据交给你的 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" } } }常见问题
phpstan/phpstan-deprecation-rules 的最新版本是什么?
phpstan/phpstan-deprecation-rules 的最新稳定版本是 2.0.5,发布于 2026-07-22。Vigia 于 2026-10-08 核实。
如何安装 phpstan/phpstan-deprecation-rules 的最新版本?
运行 composer require phpstan/phpstan-deprecation-rules。最新稳定版本是 2.0.5(2026-10-08 核实)。
phpstan/phpstan-deprecation-rules 是否已弃用?
否。注册表中 phpstan/phpstan-deprecation-rules 未被标记为已弃用。
phpstan/phpstan-deprecation-rules 需要哪个版本的 PHP?
phpstan/phpstan-deprecation-rules 2.0.5 声明的要求为:PHP ^7.4 || ^8.0。
phpstan/phpstan-deprecation-rules 2.0.5 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 phpstan/phpstan-deprecation-rules 2.0.5。
phpstan/phpstan-deprecation-rules 是否仍在维护?
phpstan/phpstan-deprecation-rules 在过去 12 个月内发布了 2 个稳定版本,最近一次在 78 天前。活跃度:活跃。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- ryangjchandler/blade-capture-directive
- filament/filament
- danharrin/date-format-converter
- filament/widgets
- amphp/parser
- intervention/gif
- zircote/swagger-php
- amphp/sync
- scrivo/highlight.php
- amphp/process
- amphp/serialization
- react/promise-timer
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/phpstan/phpstan-deprecation-rules) [](https://vigia.coredls.cloud/packagist/phpstan/phpstan-deprecation-rules) [](https://vigia.coredls.cloud/packagist/phpstan/phpstan-deprecation-rules)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/packagist/phpstan/phpstan-deprecation-rules
GET https://vigia.coredls.cloud/v1/packages/packagist/phpstan/phpstan-deprecation-rules/versions/{version}