Packagist · packagist:thecodingmachine/safe
thecodingmachine/safe 活跃
PHP core functions that throw exceptions instead of returning FALSE on error
| 最新稳定版本 | 3.4.0 |
|---|---|
| 发布时间 | 2026-02-04 18:08:13+00:00 |
| 安装 | composer require thecodingmachine/safe |
| 所需 PHP 版本 (composer.json) | PHP ^8.1 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-08 20:59:45 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 放缓 |
|---|---|
| 最近的稳定版本 | 2026-02-04 18:08:13 UTC · 246 天前 |
| 过去 12 个月的稳定版本数 | 1 |
| 已发布版本数 | 67 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
3.4.0 | 2026-02-04 18:08:13 UTC |
3.3.0 | 2025-05-14 06:15:44 UTC |
3.2.0 | 2025-05-13 14:29:37 UTC |
3.1.1 | 2025-04-28 07:56:17 UTC |
3.1.0 | 2025-04-12 06:41:26 UTC |
3.0.2 | 2025-02-19 19:23:00 UTC |
3.0.1 | 2025-02-18 02:09:20 UTC |
3.0.0 | 2025-02-11 00:27:22 UTC |
2.5.0 | 2023-04-05 11:54:14 UTC |
2.4.0 | 2022-10-07 14:02:17 UTC |
2.3.1 | 2022-09-20 12:01:26 UTC |
2.3.0 | 2022-09-13 15:49:48 UTC |
2.2.3 | 2022-08-04 14:05:49 UTC |
2.2.2 | 2022-07-20 17:46:34 UTC |
2.2.1 | 2022-06-09 15:36:45 UTC |
2.2.0 | 2022-05-25 13:37:55 UTC |
2.1.4 | 2022-05-02 13:55:17 UTC |
2.1.3 | 2022-03-30 09:48:08 UTC |
2.1.2 | 2022-02-01 21:08:44 UTC |
2.1.1 | 2022-01-19 16:26:05 UTC |
显示 55 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 1.3.3 |
php 8.0 | 2.5.0 |
php 8.1 | 3.4.0 |
php 8.2 | 3.4.0 |
php 8.3 | 3.4.0 |
php 8.4 | 3.4.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" } } }常见问题
thecodingmachine/safe 的最新版本是什么?
thecodingmachine/safe 的最新稳定版本是 3.4.0,发布于 2026-02-04。Vigia 于 2026-10-08 核实。
如何安装 thecodingmachine/safe 的最新版本?
运行 composer require thecodingmachine/safe。最新稳定版本是 3.4.0(2026-10-08 核实)。
thecodingmachine/safe 是否已弃用?
否。注册表中 thecodingmachine/safe 未被标记为已弃用。
thecodingmachine/safe 需要哪个版本的 PHP?
thecodingmachine/safe 3.4.0 声明的要求为:PHP ^8.1。
thecodingmachine/safe 3.4.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 thecodingmachine/safe 3.4.0。
thecodingmachine/safe 是否仍在维护?
thecodingmachine/safe 在过去 12 个月内发布了 1 个稳定版本,最近一次在 246 天前。活跃度:放缓。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- composer/class-map-generator
- php-http/promise
- dompdf/php-svg-lib
- composer/ca-bundle
- dompdf/php-font-lib
- google/protobuf
- predis/predis
- justinrainbow/json-schema
- php-http/httplug
- squizlabs/php_codesniffer
- pragmarx/google2fa
- symfony/validator
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/thecodingmachine/safe) [](https://vigia.coredls.cloud/packagist/thecodingmachine/safe) [](https://vigia.coredls.cloud/packagist/thecodingmachine/safe)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/packagist/thecodingmachine/safe
GET https://vigia.coredls.cloud/v1/packages/packagist/thecodingmachine/safe/versions/{version}