Packagist · packagist:sanmai/di-container
sanmai/di-container 活跃
dependency injection container with automatic constructor dependency resolution
| 最新稳定版本 | 0.2.0 |
|---|---|
| 发布时间 | 2026-08-11 06:42:18+00:00 |
| 安装 | composer require sanmai/di-container |
| 所需 PHP 版本 (composer.json) | PHP >=8.2 |
| 许可证 | BSD-3-Clause |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-09 03:01:01 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-08-11 06:42:18 UTC · 58 天前 |
| 过去 12 个月的稳定版本数 | 19 |
| 已发布版本数 | 25 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
0.2.0 | 2026-08-11 06:42:18 UTC |
0.1.23 | 2026-08-11 00:58:41 UTC |
0.1.22 | 2026-08-09 15:52:22 UTC |
0.1.21 | 2026-08-09 13:59:02 UTC |
0.1.20 | 2026-08-09 13:32:29 UTC |
0.1.19 | 2026-08-09 12:58:01 UTC |
0.1.18 | 2026-08-09 11:28:53 UTC |
0.1.17 | 2026-06-01 08:52:14 UTC |
0.1.16 | 2026-05-30 11:27:18 UTC |
0.1.15 | 2026-05-30 08:52:45 UTC |
0.1.14 | 2026-05-30 08:21:28 UTC |
0.1.13 | 2026-05-30 01:16:35 UTC |
0.1.12 | 2026-01-27 08:25:46 UTC |
0.1.11 | 2026-01-13 07:38:17 UTC |
0.1.10 | 2026-01-12 23:28:14 UTC |
0.1.9 | 2026-01-12 12:09:00 UTC |
0.1.8 | 2026-01-03 14:10:40 UTC |
0.1.7 | 2026-01-03 10:21:40 UTC |
0.1.6 | 2026-01-02 09:35:43 UTC |
0.1.5 | 2025-08-04 09:43:58 UTC |
显示 25 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 无 |
php 8.0 | 无 |
php 8.1 | 无 |
php 8.2 | 0.2.0 |
php 8.3 | 0.2.0 |
php 8.4 | 0.2.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" } } }常见问题
sanmai/di-container 的最新版本是什么?
sanmai/di-container 的最新稳定版本是 0.2.0,发布于 2026-08-11。Vigia 于 2026-10-09 核实。
如何安装 sanmai/di-container 的最新版本?
运行 composer require sanmai/di-container。最新稳定版本是 0.2.0(2026-10-09 核实)。
sanmai/di-container 是否已弃用?
否。注册表中 sanmai/di-container 未被标记为已弃用。
sanmai/di-container 需要哪个版本的 PHP?
sanmai/di-container 0.2.0 声明的要求为:PHP >=8.2。
sanmai/di-container 0.2.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 sanmai/di-container 0.2.0。
sanmai/di-container 是否仍在维护?
sanmai/di-container 在过去 12 个月内发布了 19 个稳定版本,最近一次在 58 天前。活跃度:活跃。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- sanmai/duoclock
- consolidation/log
- consolidation/config
- szepeviktor/phpstan-wordpress
- consolidation/annotated-command
- grasmash/expander
- consolidation/output-formatters
- laminas/laminas-servicemanager
- symplify/rule-doc-generator-contracts
- picqer/php-barcode-generator
- codeception/codeception
- consolidation/robo
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/sanmai/di-container) [](https://vigia.coredls.cloud/packagist/sanmai/di-container) [](https://vigia.coredls.cloud/packagist/sanmai/di-container)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/packagist/sanmai/di-container
GET https://vigia.coredls.cloud/v1/packages/packagist/sanmai/di-container/versions/{version}