Packagist · packagist:squirrelphp/twig-php-syntax
squirrelphp/twig-php-syntax active
Adds common PHP syntax to twig templates, like ===, foreach and continue/break.
| Latest stable version | 2.0.0 |
|---|---|
| Published | 2026-01-27 09:24:11+00:00 |
| Install | composer require squirrelphp/twig-php-syntax |
| Required PHP version (composer.json) | PHP >=8.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-09 03:02:38 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2026-01-27 09:24:11 UTC · 255 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 16 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
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 |
Showing the 16 most recent of 16 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
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 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of squirrelphp/twig-php-syntax?
The latest stable version of squirrelphp/twig-php-syntax is 2.0.0, published on 2026-01-27. Verified by Vigia on 2026-10-09.
How do I install the latest version of squirrelphp/twig-php-syntax?
Run composer require squirrelphp/twig-php-syntax. The latest stable version is 2.0.0 (verified 2026-10-09).
Is squirrelphp/twig-php-syntax deprecated?
No. squirrelphp/twig-php-syntax is not marked as deprecated in the registry.
Which PHP version does squirrelphp/twig-php-syntax require?
squirrelphp/twig-php-syntax 2.0.0 declares this requirement: PHP >=8.1.
Does squirrelphp/twig-php-syntax 2.0.0 have known vulnerabilities?
No known advisories affect squirrelphp/twig-php-syntax 2.0.0 according to the data Vigia checks.
Is squirrelphp/twig-php-syntax still maintained?
squirrelphp/twig-php-syntax published 1 stable releases in the last 12 months; the most recent was 255 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- php-mock/php-mock
- phrity/net-uri
- milon/barcode
- tecnickcom/tc-lib-barcode
- graham-campbell/manager
- spatie/laravel-google-cloud-storage
- phrity/util-errorhandler
- livewire/volt
- shipmonk/phpstan-rules
- tecnickcom/tc-lib-color
- jetbrains/phpstorm-attributes
- php-open-source-saver/jwt-auth
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the 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)
For agents
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}