# Show GN: PHPStan 익스텐션 개발을 위한 IDE 헬퍼

> Clean Markdown view of GeekNews topic #19229. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=19229](https://news.hada.io/topic?id=19229)
- GeekNews Markdown: [https://news.hada.io/topic/19229.md](https://news.hada.io/topic/19229.md)
- Type: show
- Author: [nemorize](https://news.hada.io/@nemorize)
- Published: 2025-02-14T14:02:05+09:00
- Updated: 2025-02-14T14:02:05+09:00
- Original source: [github.com/headercat](https://github.com/headercat/phpstan-extension-ide-helper)
- Points: 1
- Comments: 0

## Topic Body

```  
composer require --dev headercat/phpstan-extension-ide-helper  
```  
  
PHPStan 1.0.0 부터 최신 버전(작성시점 기준 2.1.5)까지 전부 지원합니다.  
  
#### Why?  
  
PHPStan은 PHAR 패키지로 배포되어 대부분의 IDE, 자동완성 툴들이 PHPStan 안의 코드를 분석할 수 없는 문제가 있습니다. 단순히 PHPStan를 활용하는 수준에서는 아무런 문제가 되지 않지만, PHPStan 익스텐션을 개발할 때에는 자동완성과 PHPDoc의 도움을 받을 수 없어 큰 불편함이 있습니다.  
  
이를 해결하기 위해 만들었습니다.  
phpstan/phpstan-src 패키지의 코드를 클론하여 "실제로 코드가 실행되지는 않지만, IDE가 PHPStan의 클래스와 함수를 분석할 수 있도록" 적절한 처리를 하여 자동으로 배포까지 완료하는 깃헙 액션 워크플로를 통해 작동합니다.

## Comments



_No public comments on this page._
