GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - robert871126/phpstorm-for-php-framework: Yaf、yar、yac、yaconf、Redis、Swoole等PHP框架或扩展在IDE下自动识别类、常量、自动补全方法名

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
src
src
 
 
static/images
static/images
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

#phpstorm-for-php-framework

php framework Auto Compelete

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

##原理

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

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

1、Yaf

2、Yac

3、Yaconf

4、Yar

5、RedisCluster

6、swoole扩展

##使用说明

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源码文档由phpDocumentCreator 生成,它可以生成任何PHP扩展的源码文档 ##作者

shixinke

邮箱:[email protected]

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

About

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

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.