All Projects → shixinke → Php Ide Helper

shixinke / Php Ide Helper

Licence: apache-2.0
Yaf、yar、yac、yaconf、Redis、Swoole、msgpack、xhprof等PHP框架或扩展在IDE下自动识别类、常量、自动补全方法名

Labels

Projects that are alternatives of or similar to Php Ide Helper

Phpstorm Solarized
Solarized theme for JetBrains PhpStorm
Stars: ✭ 93 (-57.34%)
Mutual labels:  phpstorm
Yii2 Stubs Generator
No more pain with autocomplete in PhpStorm.
Stars: ✭ 143 (-34.4%)
Mutual labels:  phpstorm
Open In Editor
NPM package to open a file in editor
Stars: ✭ 187 (-14.22%)
Mutual labels:  phpstorm
Symfony 4 Docker Env
Docker Environment for Symfony. PHP-FPM, NGINX SSL Proxy, MySQL, LEMP
Stars: ✭ 119 (-45.41%)
Mutual labels:  phpstorm
Phpstorm Attributes
PhpStorm specific attributes
Stars: ✭ 140 (-35.78%)
Mutual labels:  phpstorm
Idea Php Generics Plugin
Support generics types in PhpStorm via psalm / phpstan docblock
Stars: ✭ 146 (-33.03%)
Mutual labels:  phpstorm
Webstorm License Key
Instruction how use license key for WebStorm & all JetBrains products
Stars: ✭ 85 (-61.01%)
Mutual labels:  phpstorm
Wplib Box
The Best Local Dev Server for WordPress Developers
Stars: ✭ 204 (-6.42%)
Mutual labels:  phpstorm
Tabnine Intellij
Jetbrains IDEs client for TabNine. Compatible with all IntelliJ-based IDEs. https://plugins.jetbrains.com/plugin/12798-tabnine
Stars: ✭ 140 (-35.78%)
Mutual labels:  phpstorm
Php Conventions
Рекомендации по написанию PHP кода
Stars: ✭ 156 (-28.44%)
Mutual labels:  phpstorm
Phpstorm Phpstan Plugin
PHPStan plugin for PhpStorm
Stars: ✭ 121 (-44.5%)
Mutual labels:  phpstorm
Ide Stubs
Phalcon IDE Stubs
Stars: ✭ 137 (-37.16%)
Mutual labels:  phpstorm
Idea Php Toolbox
Collections of tools and improvements to make PhpStorm a little bit better
Stars: ✭ 147 (-32.57%)
Mutual labels:  phpstorm
Collector Intellij
A PhpStorm plugin for refactoring to collections
Stars: ✭ 114 (-47.71%)
Mutual labels:  phpstorm
Codeigniter Phpstorm
PhpStorm Code Completion to CodeIgniter
Stars: ✭ 194 (-11.01%)
Mutual labels:  phpstorm
Symfony Phpstorm Meta
PhpStorm meta data for expected arguments completion.
Stars: ✭ 84 (-61.47%)
Mutual labels:  phpstorm
Notes
📔 Linux、MySQL、Nginx、PHP、Git、Shell 等笔记
Stars: ✭ 1,835 (+741.74%)
Mutual labels:  phpstorm
Idea Php Annotation Plugin
Add PHP annotation support for PhpStorm and IntelliJ
Stars: ✭ 216 (-0.92%)
Mutual labels:  phpstorm
Phpstormprotocol
Custom protocol handler for the PhpStorm
Stars: ✭ 195 (-10.55%)
Mutual labels:  phpstorm
Intellij Platform Solarized
Solarized UI and editor themes for IntelliJ IDEA, CLion, Rider, PyCharm, RubyMine, PhpStorm, WebStorm, Android Studio, DataGrip and GoLand
Stars: ✭ 148 (-32.11%)
Mutual labels:  phpstorm

php-ide-helper

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)

原理

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

目前支持的框架或扩展

1、Yaf(3.0.7)

2、Yac(2.0.3-dev)

3、Yaconf(1.0.8-dev)

4、Yar(2.0.4)

5、phpRedis(包括RedisCluster,支持phpredis 5.1.1)

6、swoole扩展(支持swoole 4.2.9)

7、SeasLog(1.8.5)

8、MsgPack(beta)

9、Xhprof

10、FastDFS(FastDFS 1.00)

使用说明

一.支持composer的项目通过composer安装

1.在项目的composer配置文件composer.json中的require-dev段添加以下内容
"require-dev": {
    "shixinke/php-ide-helper":"dev-master"
}
2.通过composer install安装包
composer install

二.不支持composer的项目安装

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

2、打开phpstorm,选择File->Settings,打开setting控制面板

phpstorm设置第一步

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

phpstorm设置第二步

示例

phpstorm自动补全效果

其他说明

此次php源码文档由php-document-creator 生成,它可以生成任何PHP扩展的源码文档

作者

shixinke

邮箱:[email protected]

博客:http://www.shixinke.com

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].