PHPackages                             kkguan/ide-helper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kkguan/ide-helper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kkguan/ide-helper
=================

Yaf、Yar、Yac、Yaconf、Redis、Swoole等框架或C扩展代码自动补全

1.0.3(9y ago)7258↓100%5PHP

Since Mar 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/huangzhhui/phpstorm-for-php-framework)[ Packagist](https://packagist.org/packages/kkguan/ide-helper)[ RSS](/packages/kkguan-ide-helper/feed)WikiDiscussions master Synced today

READMEChangelog (4)DependenciesVersions (5)Used By (0)

\#phpstorm-for-php-framework

php framework and php extension Auto Compelete for phpstorm

Yaf、Yar、Yac、Yaconf、Redis、Swoole等框架或C扩展之PhpStrom代码自动补全（屏蔽IDE undefined，全命名空间，中文详细文档，比手册更详细） 这个想法fork自phpboy（[https://github.com/xudianyang/yaf.auto.complete）](https://github.com/xudianyang/yaf.auto.complete%EF%BC%89)

\##原理

项目中先包含写好的相关的框架的PHP类文件(相当于本地类，因为ya\*系列都是使用C语言写的PHP扩展，通过PHP将其定义出来引用)，编辑器即可在使用这些类的时候自动定位其定义的用法

\##目前支持的框架或扩展

1、Yaf

2、Yac

3、Yaconf

4、Yar

5、Redis(包括RedisCluster)

6、swoole扩展

7、SeasLog

8、MsgPack(beta)

9、Xhprof

\##使用说明

1、下载源文件并解压，将src文件夹下面的内容放到任意一个位置(我习惯将它放到我的phpstorm安装路径下的plugins\\php\\lib下面，然后建立一个vendor文件夹，如C:\\Program Files (x86)\\JetBrains\\PhpStorm 9.0.2\\plugins\\php\\lib\\vendor)

2、打开phpstorm,选择File-&gt;Settings，打开setting控制面板

[![phpstorm设置第一步](https://github.com/shixinke/phpstorm-for-php-framework/raw/master/static/images/step1.png)](https://github.com/shixinke/phpstorm-for-php-framework/blob/master/static/images/step1.png)

3、在setting控制面板中，选择Languages &amp; Frameworks-&gt;PHP,点击PHP面板右侧的加号按钮，将第1步放置的类文件包含进来即可

[![phpstorm设置第二步](https://github.com/shixinke/phpstorm-for-php-framework/raw/master/static/images/step2.png)](https://github.com/shixinke/phpstorm-for-php-framework/blob/master/static/images/step2.png)

\##示例

[![phpstorm自动补全效果](https://github.com/shixinke/phpstorm-for-php-framework/raw/master/static/images/yaf.auto.complete.png)](https://github.com/shixinke/phpstorm-for-php-framework/blob/master/static/images/yaf.auto.complete.png)

其他说明
----

[](#其他说明)

此次php源码文档由[php-document-creator](http://github.com/shixinke/php-document-creator) 生成，它可以生成任何PHP扩展的源码文档 ##作者

shixinke

邮箱：

博客：

本项目由 [shixinke](https://github.com/shixinke/phpstorm-for-php-framework) 开发，此fork仅增加composer支持

###  Health Score

33

—

LowBetter than 76% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 83.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

3300d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/072abb073f87080e34b576a2cac992929fb3a4b3c92797ecbc8ffe8bd7d5413a?d=identicon)[Sampson](/maintainers/Sampson)

---

Top Contributors

[![shixinke](https://avatars.githubusercontent.com/u/9602010?v=4)](https://github.com/shixinke "shixinke (26 commits)")[![huangzhhui](https://avatars.githubusercontent.com/u/12077148?v=4)](https://github.com/huangzhhui "huangzhhui (5 commits)")

### Embed Badge

![Health badge](/badges/kkguan-ide-helper/health.svg)

```
[![Health](https://phpackages.com/badges/kkguan-ide-helper/health.svg)](https://phpackages.com/packages/kkguan-ide-helper)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
