Packagist · packagist:spatie/robots-txt
spatie/robots-txt 活跃
Determine if a page may be crawled from robots.txt and robots meta tags
| 最新稳定版本 | 2.5.4 |
|---|---|
| 发布时间 | 2026-02-25 07:59:20+00:00 |
| 安装 | composer require spatie/robots-txt |
| 所需 PHP 版本 (composer.json) | PHP ^8.1 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-09 03:01:26 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 放缓 |
|---|---|
| 最近的稳定版本 | 2026-02-25 07:59:20 UTC · 226 天前 |
| 过去 12 个月的稳定版本数 | 2 |
| 已发布版本数 | 31 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
2.5.4 | 2026-02-25 07:59:20 UTC |
2.5.3 | 2025-11-20 13:00:33 UTC |
2.5.2 | 2025-09-19 10:37:01 UTC |
2.5.1 | 2025-07-01 07:07:44 UTC |
2.5.0 | 2025-05-23 08:35:36 UTC |
2.4.0 | 2025-05-22 08:22:10 UTC |
2.3.1 | 2025-01-31 09:33:25 UTC |
2.3.0 | 2025-01-27 10:15:34 UTC |
2.2.3 | 2024-10-22 08:17:03 UTC |
2.2.2 | 2024-09-25 08:55:09 UTC |
2.2.1 | 2024-08-09 09:07:48 UTC |
2.2.0 | 2024-04-22 14:28:40 UTC |
2.1.0 | 2024-04-19 11:44:41 UTC |
2.0.3 | 2023-11-22 12:57:35 UTC |
2.0.2 | 2022-05-18 15:14:21 UTC |
2.0.1 | 2021-05-06 16:55:55 UTC |
2.0.0 | 2021-03-28 11:10:26 UTC |
1.0.10 | 2020-12-07 11:10:49 UTC |
1.0.9 | 2020-11-27 11:00:03 UTC |
1.0.7 | 2020-04-29 08:03:48 UTC |
显示 31 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 1.0.10 |
php 8.0 | 2.1.0 |
php 8.1 | 2.5.4 |
php 8.2 | 2.5.4 |
php 8.3 | 2.5.4 |
php 8.4 | 2.5.4 |
把这些数据交给你的 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/robots-txt 的最新版本是什么?
spatie/robots-txt 的最新稳定版本是 2.5.4,发布于 2026-02-25。Vigia 于 2026-10-09 核实。
如何安装 spatie/robots-txt 的最新版本?
运行 composer require spatie/robots-txt。最新稳定版本是 2.5.4(2026-10-09 核实)。
spatie/robots-txt 是否已弃用?
否。注册表中 spatie/robots-txt 未被标记为已弃用。
spatie/robots-txt 需要哪个版本的 PHP?
spatie/robots-txt 2.5.4 声明的要求为:PHP ^8.1。
spatie/robots-txt 2.5.4 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 spatie/robots-txt 2.5.4。
spatie/robots-txt 是否仍在维护?
spatie/robots-txt 在过去 12 个月内发布了 2 个稳定版本,最近一次在 226 天前。活跃度:放缓。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- friends-of-behat/mink-extension
- mews/purifier
- jms/serializer-bundle
- league/oauth2-google
- softcreatr/jsonpath
- codeception/lib-innerbrowser
- posthog/posthog-php
- rmccue/requests
- respect/validation
- archtechx/enums
- datadog/php-datadogstatsd
- phpdocumentor/reflection
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/spatie/robots-txt) [](https://vigia.coredls.cloud/packagist/spatie/robots-txt) [](https://vigia.coredls.cloud/packagist/spatie/robots-txt)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/robots-txt
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/robots-txt/versions/{version}