Vigia

Packagist · packagist:sebastian/lines-of-code

sebastian/lines-of-code 活跃

Library for counting the lines of code in PHP source code

最新稳定版本5.0.2
发布时间2026-07-09 08:42:34+00:00
安装composer require sebastian/lines-of-code
所需 PHP 版本 (composer.json)PHP >=8.4
许可证BSD-3-Clause
最新版本的安全公告暂无已知
最近核实2026-10-08 20:59:30 UTC
来源api.osv.dev, repo.packagist.org

维护情况

活跃度活跃
最近的稳定版本2026-07-09 08:42:34 UTC · 91 天前
过去 12 个月的稳定版本数4
已发布版本数15

仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。

版本历史

版本发布时间
5.0.22026-07-09 08:42:34 UTC
5.0.12026-05-19 16:23:37 UTC
4.0.12026-05-19 16:22:07 UTC
5.0.02026-02-06 04:45:54 UTC
4.0.02025-02-07 04:57:28 UTC
3.0.12024-07-03 04:58:38 UTC
3.0.02024-02-02 06:00:36 UTC
1.0.42023-12-22 06:20:34 UTC
2.0.22023-12-21 08:38:20 UTC
2.0.12023-08-31 09:25:50 UTC
2.0.02023-02-03 07:08:02 UTC
1.0.32020-11-28 06:42:11 UTC
1.0.22020-10-26 17:03:56 UTC
1.0.12020-09-28 06:07:27 UTC
1.0.02020-07-22 18:33:42 UTC

显示 15 个版本中最新的 15 个。 JSON

版本兼容性

声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。

运行时最新兼容版本
php 7.41.0.4
php 8.01.0.4
php 8.12.0.2
php 8.23.0.1
php 8.34.0.1
php 8.45.0.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" } } }

智能体技能(SKILL.md):告诉智能体何时使用 Vigia · 用于拉取请求的 GitHub Action

常见问题

sebastian/lines-of-code 的最新版本是什么?

sebastian/lines-of-code 的最新稳定版本是 5.0.2,发布于 2026-07-09。Vigia 于 2026-10-08 核实。

如何安装 sebastian/lines-of-code 的最新版本?

运行 composer require sebastian/lines-of-code。最新稳定版本是 5.0.2(2026-10-08 核实)。

sebastian/lines-of-code 是否已弃用?

否。注册表中 sebastian/lines-of-code 未被标记为已弃用。

sebastian/lines-of-code 需要哪个版本的 PHP?

sebastian/lines-of-code 5.0.2 声明的要求为:PHP >=8.4。

sebastian/lines-of-code 5.0.2 是否存在已知漏洞?

根据 Vigia 检查的数据,没有已知安全公告影响 sebastian/lines-of-code 5.0.2。

sebastian/lines-of-code 是否仍在维护?

sebastian/lines-of-code 在过去 12 个月内发布了 4 个稳定版本,最近一次在 91 天前。活跃度:活跃。

观察到的变更

自 Vigia 开始跟踪此软件包以来,尚未观察到变更。

相关软件包

用于 README 的徽章

展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:

[![version](https://vigia.coredls.cloud/badge/packagist/sebastian/lines-of-code/version.svg)](https://vigia.coredls.cloud/packagist/sebastian/lines-of-code)
[![maintained](https://vigia.coredls.cloud/badge/packagist/sebastian/lines-of-code/maintained.svg)](https://vigia.coredls.cloud/packagist/sebastian/lines-of-code)
[![status](https://vigia.coredls.cloud/badge/packagist/sebastian/lines-of-code/status.svg)](https://vigia.coredls.cloud/packagist/sebastian/lines-of-code)

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/packagist/sebastian/lines-of-code
GET https://vigia.coredls.cloud/v1/packages/packagist/sebastian/lines-of-code/versions/{version}