Packagist · packagist:marc-mabe/php-enum
marc-mabe/php-enum 活跃
Simple and fast implementation of enumerations with native PHP
| 最新稳定版本 | 4.7.2 |
|---|---|
| 发布时间 | 2025-09-14 11:18:39+00:00 |
| 安装 | composer require marc-mabe/php-enum |
| 所需 PHP 版本 (composer.json) | PHP ^7.1 || ^8.0 |
| 许可证 | BSD-3-Clause |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-08 23:59:54 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 放缓 |
|---|---|
| 最近的稳定版本 | 2025-09-14 11:18:39 UTC · 389 天前 |
| 过去 12 个月的稳定版本数 | 0 |
| 已发布版本数 | 39 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
4.7.2 | 2025-09-14 11:18:39 UTC |
4.7.1 | 2024-11-28 04:54:44 UTC |
4.7.0 | 2022-04-19 02:21:46 UTC |
4.6.1 | 2022-02-13 06:05:42 UTC |
3.2.0 | 2022-02-13 05:42:09 UTC |
4.6.0 | 2022-01-06 08:15:14 UTC |
4.4.0 | 2020-10-12 21:17:47 UTC |
4.3.0 | 2020-04-27 09:55:52 UTC |
4.2.0 | 2019-12-18 09:03:05 UTC |
4.1.1 | 2019-09-19 06:17:32 UTC |
4.1.0 | 2019-07-02 04:46:33 UTC |
4.0.0 | 2019-05-21 20:23:38 UTC |
2.3.2 | 2019-03-16 18:21:30 UTC |
3.1.1 | 2019-02-02 18:47:58 UTC |
3.1.0 | 2019-01-27 22:18:56 UTC |
3.0.2 | 2018-08-06 18:02:48 UTC |
3.0.1 | 2018-05-22 10:45:45 UTC |
3.0.0 | 2017-11-05 14:47:17 UTC |
2.3.1 | 2016-12-21 13:13:11 UTC |
2.3.0 | 2016-12-07 21:18:12 UTC |
显示 28 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 4.7.2 |
php 8.0 | 4.7.2 |
php 8.1 | 4.7.2 |
php 8.2 | 4.7.2 |
php 8.3 | 4.7.2 |
php 8.4 | 4.7.2 |
把这些数据交给你的 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" } } }常见问题
marc-mabe/php-enum 的最新版本是什么?
marc-mabe/php-enum 的最新稳定版本是 4.7.2,发布于 2025-09-14。Vigia 于 2026-10-08 核实。
如何安装 marc-mabe/php-enum 的最新版本?
运行 composer require marc-mabe/php-enum。最新稳定版本是 4.7.2(2026-10-08 核实)。
marc-mabe/php-enum 是否已弃用?
否。注册表中 marc-mabe/php-enum 未被标记为已弃用。
marc-mabe/php-enum 需要哪个版本的 PHP?
marc-mabe/php-enum 4.7.2 声明的要求为:PHP ^7.1 || ^8.0。
marc-mabe/php-enum 4.7.2 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 marc-mabe/php-enum 4.7.2。
marc-mabe/php-enum 是否仍在维护?
marc-mabe/php-enum 在过去 12 个月内发布了 0 个稳定版本,最近一次在 389 天前。活跃度:放缓。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- spatie/backtrace
- barryvdh/laravel-dompdf
- clue/ndjson-react
- league/oauth1-client
- spatie/temporary-directory
- laravel/socialite
- symfony/html-sanitizer
- grpc/grpc
- setasign/fpdi
- league/event
- doctrine/orm
- defuse/php-encryption
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/marc-mabe/php-enum) [](https://vigia.coredls.cloud/packagist/marc-mabe/php-enum) [](https://vigia.coredls.cloud/packagist/marc-mabe/php-enum)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/packagist/marc-mabe/php-enum
GET https://vigia.coredls.cloud/v1/packages/packagist/marc-mabe/php-enum/versions/{version}