Packagist · packagist:opis/closure
opis/closure 活跃
A library that can be used to serialize closures (anonymous functions) and arbitrary data.
| 最新稳定版本 | 4.5.0 |
|---|---|
| 发布时间 | 2026-03-05 13:32:42+00:00 |
| 安装 | composer require opis/closure |
| 所需 PHP 版本 (composer.json) | PHP ^8.0 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-09 03:00:58 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 放缓 |
|---|---|
| 最近的稳定版本 | 2026-03-05 13:32:42 UTC · 217 天前 |
| 过去 12 个月的稳定版本数 | 2 |
| 已发布版本数 | 65 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
4.5.0 | 2026-03-05 13:32:42 UTC |
4.4.0 | 2025-11-20 00:20:49 UTC |
3.7.0 | 2025-07-08 20:30:08 UTC |
4.3.1 | 2025-01-10 20:42:24 UTC |
4.3.0 | 2025-01-08 18:43:14 UTC |
4.2.1 | 2025-01-07 19:45:10 UTC |
4.2.0 | 2025-01-07 00:59:14 UTC |
4.1.0 | 2025-01-04 22:41:37 UTC |
4.0.1 | 2025-01-04 14:12:31 UTC |
4.0.0 | 2024-12-28 21:45:16 UTC |
3.6.3 | 2022-01-27 09:35:39 UTC |
3.6.2 | 2021-04-09 13:42:10 UTC |
3.6.1 | 2020-11-07 02:01:34 UTC |
3.6.0 | 2020-10-11 21:42:15 UTC |
3.5.7 | 2020-09-06 17:02:15 UTC |
3.5.6 | 2020-08-11 08:46:50 UTC |
3.5.5 | 2020-06-17 14:59:55 UTC |
3.5.4 | 2020-06-07 11:41:29 UTC |
3.5.3 | 2020-05-25 09:32:45 UTC |
3.5.2 | 2020-05-21 20:09:36 UTC |
显示 65 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 3.7.0 |
php 8.0 | 4.5.0 |
php 8.1 | 4.5.0 |
php 8.2 | 4.5.0 |
php 8.3 | 4.5.0 |
php 8.4 | 4.5.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" } } }常见问题
opis/closure 的最新版本是什么?
opis/closure 的最新稳定版本是 4.5.0,发布于 2026-03-05。Vigia 于 2026-10-09 核实。
如何安装 opis/closure 的最新版本?
运行 composer require opis/closure。最新稳定版本是 4.5.0(2026-10-09 核实)。
opis/closure 是否已弃用?
否。注册表中 opis/closure 未被标记为已弃用。
opis/closure 需要哪个版本的 PHP?
opis/closure 4.5.0 声明的要求为:PHP ^8.0。
opis/closure 4.5.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 opis/closure 4.5.0。
opis/closure 是否仍在维护?
opis/closure 在过去 12 个月内发布了 2 个稳定版本,最近一次在 217 天前。活跃度:放缓。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- phenx/php-svg-lib
- knplabs/knp-snappy
- darkaonline/l5-swagger
- symfony/notifier
- symfony/workflow
- nelmio/api-doc-bundle
- mongodb/mongodb
- spatie/enum
- symfony/stimulus-bundle
- willdurand/jsonp-callback-validator
- cocur/slugify
- sendgrid/sendgrid
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/opis/closure) [](https://vigia.coredls.cloud/packagist/opis/closure) [](https://vigia.coredls.cloud/packagist/opis/closure)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/packagist/opis/closure
GET https://vigia.coredls.cloud/v1/packages/packagist/opis/closure/versions/{version}