<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/phpstan-on-steroids-cdtlo12rv" -->

---
title: PHPStan on steroids | daily.dev
description: PHPStan 2.1.34 brings significant performance improvements after 6 weeks of optimization work. The release achieves 25-40% faster analysis times in real-world...
canonical: https://daily.dev/posts/phpstan-on-steroids-cdtlo12rv
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: PHPStan on steroids | daily.dev
og:description: PHPStan 2.1.34 brings significant performance improvements after 6 weeks of optimization work. The release achieves 25-40% faster analysis times in real-world...
og:url: https://daily.dev/posts/phpstan-on-steroids-cdtlo12rv
og:image: https://api.daily.dev/og/posts/CdTLo12rv.png
og:image:alt: PHPStan on steroids
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# PHPStan on steroids

**[Markus Staab](https://daily.dev/sources/staabm)** · 3 min read · 0 upvotes · 0 comments

## Summary

PHPStan 2.1.34 brings significant performance improvements after 6 weeks of optimization work. The release achieves 25-40% faster analysis times in real-world projects, with internal benchmarks showing 50% runtime improvements. Key optimizations include reduced bootstrap overhead for mutation testing with InfectionPHP (70% fewer files analyzed, 40% faster invocations). The improvements reduce CI pipeline energy consumption and developer wait times, though the release requires more memory with fixes planned for future versions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://staabm.github.io/2026/01/25/phpstan-on-steroids.html>

## Similar posts on daily.dev

- [PhpStorm 2026.2 is Now Out](https://daily.dev/posts/phpstorm-2026-2-is-now-out-hftm1sqsi) · JetBrains · 14 upvotes · 2 comments
- [There is NO cache](https://daily.dev/posts/there-is-no-cache-2r2dtwjqr) · Tomas Votruba · 2 upvotes · 0 comments
- [Rust/Go Leverage in PHP](https://daily.dev/posts/rust-go-leverage-in-php-10f11d6gc) · Tomas Votruba · 21 upvotes · 1 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#testing](https://daily.dev/tags/testing), [#php](https://daily.dev/tags/php), [#phpstan](https://daily.dev/tags/phpstan)

[View this post on daily.dev](https://daily.dev/posts/phpstan-on-steroids-cdtlo12rv)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"PHPStan on steroids","url":"https://daily.dev/posts/phpstan-on-steroids-cdtlo12rv","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/phpstan-on-steroids-cdtlo12rv"},"datePublished":"2026-01-25T11:33:06.857Z","dateModified":"2026-02-28T04:37:19.316Z","description":"PHPStan 2.1.34 brings significant performance improvements after 6 weeks of optimization work. The release achieves 25-40% faster analysis times in real-world...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/23c4a2c98d523fb759cd881303a307c0?_a=AQAEulh","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/23c4a2c98d523fb759cd881303a307c0?_a=AQAEulh","isAccessibleForFree":true,"articleSection":"Markus Staab","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Markus Staab","logo":"https://media.daily.dev/image/upload/s--8rxt2j-3--/f_auto/v1764505585/logos/staabm","url":"https://daily.dev/sources/staabm"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/phpstan-on-steroids-cdtlo12rv","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"performance,testing,php,phpstan","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Markus Staab","item":"https://daily.dev/sources/staabm"},{"@type":"ListItem","position":3,"name":"PHPStan on steroids"}]}
```

