Packagist · packagist:squirrelphp/twig-php-syntax
squirrelphp/twig-php-syntax 活跃
Adds common PHP syntax to twig templates, like ===, foreach and continue/break.
squirrelphp/twig-php-syntax 的最新稳定版本是 2.0.0,发布于 2026-01-27。Vigia 于 2026-11-27 核实。
| 最新稳定版本 | 2.0.0 |
|---|---|
| 发布时间 | 2026-01-27 09:24:11+00:00 |
| 安装 | composer require squirrelphp/twig-php-syntax |
| 所需 PHP 版本 (composer.json) | PHP >=8.1 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-27 03:22:58 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 放缓 |
|---|---|
| 最近的稳定版本 | 2026-01-27 09:24:11 UTC · 303 天前 |
| 过去 12 个月的稳定版本数 | 1 |
| 已发布版本数 | 16 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
2.0.0 | 2026-01-27 09:24:11 UTC |
1.13.0 | 2025-05-03 06:37:30 UTC |
1.12.0 | 2025-05-02 17:05:30 UTC |
1.11.0 | 2025-05-02 14:30:05 UTC |
1.10.0 | 2025-01-30 09:47:03 UTC |
1.9.0 | 2024-11-20 18:55:55 UTC |
1.8.0 | 2024-05-01 12:16:25 UTC |
1.7.0 | 2021-11-29 23:24:13 UTC |
1.6.0 | 2021-01-26 18:06:48 UTC |
1.5.1 | 2020-07-15 14:05:49 UTC |
1.5.0 | 2020-06-10 19:15:38 UTC |
1.4.0 | 2020-06-08 10:53:36 UTC |
1.3.0 | 2020-06-07 15:02:24 UTC |
1.2.0 | 2020-05-10 13:36:20 UTC |
1.1.0 | 2020-04-23 14:28:02 UTC |
1.0.0 | 2020-04-22 14:30:42 UTC |
显示 16 个版本中最新的 16 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 1.8.0 |
php 8.0 | 1.11.0 |
php 8.1 | 2.0.0 |
php 8.2 | 2.0.0 |
php 8.3 | 2.0.0 |
php 8.4 | 2.0.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" } } }常见问题
squirrelphp/twig-php-syntax 的最新版本是什么?
squirrelphp/twig-php-syntax 的最新稳定版本是 2.0.0,发布于 2026-01-27。Vigia 于 2026-11-27 核实。
如何安装 squirrelphp/twig-php-syntax 的最新版本?
运行 composer require squirrelphp/twig-php-syntax。最新稳定版本是 2.0.0(2026-11-27 核实)。
squirrelphp/twig-php-syntax 是否已弃用?
否。注册表中 squirrelphp/twig-php-syntax 未被标记为已弃用。
squirrelphp/twig-php-syntax 需要哪个版本的 PHP?
squirrelphp/twig-php-syntax 2.0.0 声明的要求为:PHP >=8.1。
squirrelphp/twig-php-syntax 2.0.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 squirrelphp/twig-php-syntax 2.0.0。
squirrelphp/twig-php-syntax 是否仍在维护?
squirrelphp/twig-php-syntax 在过去 12 个月内发布了 1 个稳定版本,最近一次在 303 天前。活跃度:放缓。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- psr-discovery/discovery
- laminas/laminas-modulemanager
- fzaninotto/faker
- laminas/laminas-permissions-acl
- wp-cli/mustangostang-spyc
- illuminate/http
- pestphp/pest-plugin-phpstan
- facebook/php-business-sdk
- spatie/laravel-csp
- saloonphp/laravel-plugin
- soundasleep/html2text
- cucumber/tag-expressions
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/squirrelphp/twig-php-syntax) [](https://vigia.coredls.cloud/packagist/squirrelphp/twig-php-syntax) [](https://vigia.coredls.cloud/packagist/squirrelphp/twig-php-syntax)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/packagist/squirrelphp/twig-php-syntax
GET https://vigia.coredls.cloud/v1/packages/packagist/squirrelphp/twig-php-syntax/versions/{version}