Packagist · packagist:phpstan/phpstan-strict-rules
phpstan/phpstan-strict-rules active
Extra strict and opinionated rules for PHPStan
The latest stable version of phpstan/phpstan-strict-rules is 2.1.2, published on 2026-11-23. Verified by Vigia on 2026-11-26.
| Latest stable version | 2.1.2 |
|---|---|
| Published | 2026-11-23 09:01:11+00:00 |
| Install | composer require phpstan/phpstan-strict-rules |
| Required PHP version (composer.json) | PHP ^7.4 || ^8.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-26 15:02:51 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the packagist package "phpstan/phpstan-strict-rules", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/packagist/phpstan/phpstan-strict-rules . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-23 09:01:11 UTC · 3 days ago |
| Stable releases in the last 12 months | 8 |
| Published versions | 55 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.1.2 | 2026-11-23 09:01:11 UTC |
2.1.1 | 2026-11-02 08:16:15 UTC |
2.1.0 | 2026-10-01 21:30:37 UTC |
2.0.12 | 2026-07-19 07:24:06 UTC |
2.0.11 | 2026-05-02 06:54:10 UTC |
2.0.10 | 2026-02-11 14:17:32 UTC |
2.0.9 | 2026-02-11 09:03:17 UTC |
2.0.8 | 2026-01-27 08:10:25 UTC |
2.0.7 | 2025-09-26 11:19:08 UTC |
2.0.6 | 2025-07-21 12:19:29 UTC |
2.0.5 | 2025-07-17 12:01:44 UTC |
2.0.4 | 2025-03-18 11:42:40 UTC |
2.0.3 | 2025-01-21 10:52:14 UTC |
2.0.2 | 2025-01-19 13:03:11 UTC |
1.6.2 | 2025-01-19 13:02:24 UTC |
2.0.1 | 2024-12-12 20:21:10 UTC |
2.0.0 | 2024-10-26 16:04:33 UTC |
1.6.1 | 2024-09-20 14:04:44 UTC |
1.6.0 | 2024-04-20 06:37:51 UTC |
1.5.5 | 2024-04-19 15:12:26 UTC |
Showing the 20 most recent of 55 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 | 2.1.2 |
php 8.0 | 2.1.2 |
php 8.1 | 2.1.2 |
php 8.2 | 2.1.2 |
php 8.3 | 2.1.2 |
php 8.4 | 2.1.2 |
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 phpstan/phpstan-strict-rules?
The latest stable version of phpstan/phpstan-strict-rules is 2.1.2, published on 2026-11-23. Verified by Vigia on 2026-11-26.
How do I install the latest version of phpstan/phpstan-strict-rules?
Run composer require phpstan/phpstan-strict-rules. The latest stable version is 2.1.2 (verified 2026-11-26).
Is phpstan/phpstan-strict-rules deprecated?
No. phpstan/phpstan-strict-rules is not marked as deprecated in the registry.
Which PHP version does phpstan/phpstan-strict-rules require?
phpstan/phpstan-strict-rules 2.1.2 declares this requirement: PHP ^7.4 || ^8.0.
Does phpstan/phpstan-strict-rules 2.1.2 have known vulnerabilities?
No known advisories affect phpstan/phpstan-strict-rules 2.1.2 according to the data Vigia checks.
Is phpstan/phpstan-strict-rules still maintained?
phpstan/phpstan-strict-rules published 8 stable releases in the last 12 months; the most recent was 3 days ago. Activity: active.
Observed changes
- Mon Nov 23 2026 15:02:42 GM +0000 (Coordinated Universal Time) — released 2.1.1 → 2.1.2
- Mon Nov 02 2026 15:01:31 GM +0000 (Coordinated Universal Time) — released 2.1.0 → 2.1.1
Related packages
- google/cloud-storage
- symfony/form
- setasign/fpdf
- barryvdh/reflection-docblock
- paragonie/sodium_compat
- php-debugbar/php-debugbar
- twilio/sdk
- filament/query-builder
- composer/spdx-licenses
- league/oauth2-client
- laminas/laminas-code
- barryvdh/laravel-ide-helper
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/phpstan/phpstan-strict-rules) [](https://vigia.coredls.cloud/packagist/phpstan/phpstan-strict-rules) [](https://vigia.coredls.cloud/packagist/phpstan/phpstan-strict-rules)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/phpstan/phpstan-strict-rules
GET https://vigia.coredls.cloud/v1/packages/packagist/phpstan/phpstan-strict-rules/versions/{version}