Packagist · packagist:phpstan/phpstan-phpunit
phpstan/phpstan-phpunit active
PHPUnit extensions and rules for PHPStan
| Latest stable version | 2.1.1 |
|---|---|
| Published | 2026-10-06 18:12:32+00:00 |
| Install | composer require phpstan/phpstan-phpunit |
| Required PHP version (composer.json) | PHP ^7.4 || ^8.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-08 21:00:00 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-10-06 18:12:32 UTC · 2 days ago |
| Stable releases in the last 12 months | 16 |
| Published versions | 84 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.1.1 | 2026-10-06 18:12:32 UTC |
2.1.0 | 2026-10-06 07:32:40 UTC |
2.0.21 | 2026-10-01 11:59:29 UTC |
2.0.20 | 2026-09-30 14:50:48 UTC |
2.0.19 | 2026-09-26 17:07:06 UTC |
2.0.18 | 2026-07-04 12:16:09 UTC |
2.0.17 | 2026-06-29 05:32:23 UTC |
2.0.16 | 2026-02-14 09:05:21 UTC |
2.0.15 | 2026-02-11 14:43:43 UTC |
2.0.14 | 2026-02-10 11:57:48 UTC |
2.0.13 | 2026-02-09 11:32:05 UTC |
2.0.12 | 2026-01-22 13:40:00 UTC |
2.0.11 | 2025-12-19 09:05:35 UTC |
2.0.10 | 2025-12-06 11:15:39 UTC |
2.0.9 | 2025-12-05 08:04:44 UTC |
2.0.8 | 2025-11-11 07:55:22 UTC |
2.0.7 | 2025-07-13 11:31:46 UTC |
2.0.6 | 2025-03-26 12:47:06 UTC |
2.0.5 | 2025-03-24 14:21:04 UTC |
2.0.4 | 2025-01-22 13:07:38 UTC |
Showing the 20 most recent of 84 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.1 |
php 8.0 | 2.1.1 |
php 8.1 | 2.1.1 |
php 8.2 | 2.1.1 |
php 8.3 | 2.1.1 |
php 8.4 | 2.1.1 |
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-phpunit?
The latest stable version of phpstan/phpstan-phpunit is 2.1.1, published on 2026-10-06. Verified by Vigia on 2026-10-08.
How do I install the latest version of phpstan/phpstan-phpunit?
Run composer require phpstan/phpstan-phpunit. The latest stable version is 2.1.1 (verified 2026-10-08).
Is phpstan/phpstan-phpunit deprecated?
No. phpstan/phpstan-phpunit is not marked as deprecated in the registry.
Which PHP version does phpstan/phpstan-phpunit require?
phpstan/phpstan-phpunit 2.1.1 declares this requirement: PHP ^7.4 || ^8.0.
Does phpstan/phpstan-phpunit 2.1.1 have known vulnerabilities?
No known advisories affect phpstan/phpstan-phpunit 2.1.1 according to the data Vigia checks.
Is phpstan/phpstan-phpunit still maintained?
phpstan/phpstan-phpunit published 16 stable releases in the last 12 months; the most recent was 2 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- rize/uri-template
- symfony/asset
- symfony/polyfill-deepclone
- spatie/error-solutions
- symfony/security-bundle
- amphp/byte-stream
- symfony/flex
- ergebnis/agent-detector
- symfony/security-http
- symfony/lock
- nette/php-generator
- blade-ui-kit/blade-heroicons
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-phpunit) [](https://vigia.coredls.cloud/packagist/phpstan/phpstan-phpunit) [](https://vigia.coredls.cloud/packagist/phpstan/phpstan-phpunit)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/phpstan/phpstan-phpunit
GET https://vigia.coredls.cloud/v1/packages/packagist/phpstan/phpstan-phpunit/versions/{version}