Packagist · packagist:sebastian/code-unit
sebastian/code-unit 活跃
Collection of value objects that represent the PHP code units
| 最新稳定版本 | 3.0.3 |
|---|---|
| 发布时间 | 2025-03-19 07:56:08+00:00 |
| 安装 | composer require sebastian/code-unit |
| 所需 PHP 版本 (composer.json) | PHP >=8.2 |
| 许可证 | BSD-3-Clause |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-08 21:59:36 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 停滞 |
|---|---|
| 最近的稳定版本 | 2025-03-19 07:56:08 UTC · 568 天前 |
| 过去 12 个月的稳定版本数 | 0 |
| 已发布版本数 | 14 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
3.0.3 | 2025-03-19 07:56:08 UTC |
3.0.2 | 2024-12-12 09:59:06 UTC |
3.0.1 | 2024-07-03 04:44:28 UTC |
3.0.0 | 2024-02-02 05:50:41 UTC |
2.0.0 | 2023-02-03 06:58:43 UTC |
1.0.8 | 2020-10-26 13:08:54 UTC |
1.0.7 | 2020-10-02 14:47:54 UTC |
1.0.6 | 2020-09-28 05:28:46 UTC |
1.0.5 | 2020-06-26 12:50:45 UTC |
1.0.4 | 2020-06-26 12:02:26 UTC |
1.0.3 | 2020-06-15 13:11:26 UTC |
1.0.2 | 2020-04-30 05:58:10 UTC |
1.0.1 | 2020-04-27 06:25:01 UTC |
1.0.0 | 2020-03-30 11:59:20 UTC |
显示 14 个版本中最新的 14 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 1.0.8 |
php 8.0 | 1.0.8 |
php 8.1 | 2.0.0 |
php 8.2 | 3.0.3 |
php 8.3 | 3.0.3 |
php 8.4 | 3.0.3 |
把这些数据交给你的 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" } } }常见问题
sebastian/code-unit 的最新版本是什么?
sebastian/code-unit 的最新稳定版本是 3.0.3,发布于 2025-03-19。Vigia 于 2026-10-08 核实。
如何安装 sebastian/code-unit 的最新版本?
运行 composer require sebastian/code-unit。最新稳定版本是 3.0.3(2026-10-08 核实)。
sebastian/code-unit 是否已弃用?
否。注册表中 sebastian/code-unit 未被标记为已弃用。
sebastian/code-unit 需要哪个版本的 PHP?
sebastian/code-unit 3.0.3 声明的要求为:PHP >=8.2。
sebastian/code-unit 3.0.3 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 sebastian/code-unit 3.0.3。
sebastian/code-unit 是否仍在维护?
sebastian/code-unit 在过去 12 个月内发布了 0 个稳定版本,最近一次在 568 天前。活跃度:停滞。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- paragonie/random_compat
- phpstan/phpstan
- aws/aws-crt-php
- filp/whoops
- mockery/mockery
- phpseclib/phpseclib
- symfony/var-exporter
- hamcrest/hamcrest-php
- symfony/options-resolver
- jean85/pretty-package-versions
- sebastian/code-unit-reverse-lookup
- masterminds/html5
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/sebastian/code-unit) [](https://vigia.coredls.cloud/packagist/sebastian/code-unit) [](https://vigia.coredls.cloud/packagist/sebastian/code-unit)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/packagist/sebastian/code-unit
GET https://vigia.coredls.cloud/v1/packages/packagist/sebastian/code-unit/versions/{version}