Packagist · packagist:spatie/regex
spatie/regex 活跃
A sane interface for php's built in preg_* functions
| 最新稳定版本 | 3.1.1 |
|---|---|
| 发布时间 | 2021-11-30 21:13:59+00:00 |
| 安装 | composer require spatie/regex |
| 所需 PHP 版本 (composer.json) | PHP ^8.0 || ^8.1 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-09 03:01:08 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 停滞 |
|---|---|
| 最近的稳定版本 | 2021-11-30 21:13:59 UTC · 1773 天前 |
| 过去 12 个月的稳定版本数 | 0 |
| 已发布版本数 | 16 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
3.1.1 | 2021-11-30 21:13:59 UTC |
3.1.0 | 2021-11-18 08:33:59 UTC |
3.0.0 | 2021-10-06 13:55:05 UTC |
2.0.1 | 2021-04-20 08:33:46 UTC |
2.0.0 | 2021-03-31 14:24:29 UTC |
1.4.2 | 2020-11-03 23:05:25 UTC |
1.4.1 | 2019-06-19 06:59:15 UTC |
1.4.0 | 2019-01-28 15:47:35 UTC |
1.3.2 | 2018-10-29 08:45:57 UTC |
1.3.1 | 2018-10-18 23:14:00 UTC |
1.3.0 | 2018-05-24 07:54:50 UTC |
1.2.0 | 2017-09-04 18:27:24 UTC |
1.1.0 | 2016-09-15 14:29:02 UTC |
1.0.0 | 2016-08-18 14:18:25 UTC |
0.1.0 | 2016-08-18 08:11:46 UTC |
0.0.1 | 2016-08-17 18:42:05 UTC |
显示 16 个版本中最新的 16 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 1.4.2 |
php 8.0 | 3.1.1 |
php 8.1 | 3.1.1 |
php 8.2 | 3.1.1 |
php 8.3 | 3.1.1 |
php 8.4 | 3.1.1 |
把这些数据交给你的 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" } } }常见问题
spatie/regex 的最新版本是什么?
spatie/regex 的最新稳定版本是 3.1.1,发布于 2021-11-30。Vigia 于 2026-10-09 核实。
如何安装 spatie/regex 的最新版本?
运行 composer require spatie/regex。最新稳定版本是 3.1.1(2026-10-09 核实)。
spatie/regex 是否已弃用?
否。注册表中 spatie/regex 未被标记为已弃用。
spatie/regex 需要哪个版本的 PHP?
spatie/regex 3.1.1 声明的要求为:PHP ^8.0 || ^8.1。
spatie/regex 3.1.1 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 spatie/regex 3.1.1。
spatie/regex 是否仍在维护?
spatie/regex 在过去 12 个月内发布了 0 个稳定版本,最近一次在 1773 天前。活跃度:停滞。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- symfony/amqp-messenger
- drupal/core
- dg/bypass-finals
- league/flysystem-bundle
- mustache/mustache
- php-parallel-lint/php-console-color
- php-parallel-lint/php-console-highlighter
- saloonphp/saloon
- matomo/device-detector
- promphp/prometheus_client_php
- simplesoftwareio/simple-qrcode
- sentry/sdk
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/spatie/regex) [](https://vigia.coredls.cloud/packagist/spatie/regex) [](https://vigia.coredls.cloud/packagist/spatie/regex)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/regex
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/regex/versions/{version}