swoft/swoole-ide-helper 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

swoft/swoole-ide-helper

最新稳定版本:v4.4.8

Composer 安装命令:

composer require swoft/swoole-ide-helper

包简介

IDE helper for Swoft and Swoole

README 文档

README

Latest Stable Version Packagist License

Add IDE helper for the swoole extension, forked from swoole/ide-helper

swoft/swoole-ide-helper keep the same version of swoole

Diff With swoole/ide-helper

Different from the source repository: variable types are added to most method parameters for easy reference.

Old:

/**
 * @param $fd
 * @param $data
 * @param $opcode
 * @param $finish
 * @return mixed
 */
public function push($fd, $data, $opcode = null, $finish = null){}

Now:

/**
 * @param int $fd
 * @param mixed $data
 * @param int $opcode
 * @param bool $finish
 * @return mixed
 */
public function push(int $fd, $data, int $opcode = null, bool $finish = null){}

Install

The Swoft use it as default.

You can add it by composer:

composer require --dev swoft/swoole-ide-helper

# use latest code
composer require --dev swoft/swoole-ide-helper@dev-master

# for specific version
composer require --dev swoft/swoole-ide-helper:~4.4.2

Build

You can regenerate it locally.

Of course, you must ensure that the swoole extension is already installed.

cd /path/to/swoole-ide-helper
php dump.php

By docker:

docker run -ti --rm -v /path/to/swoole-ide-helper:/var/www/swoft swoft/swoft bash
php dump.php

LICENSE

See LICENSE

统计信息

  • 总下载量: 318.69k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 42
  • 点击次数: 1
  • 依赖项目数: 189
  • 推荐数: 0

GitHub 信息

  • Stars: 41
  • Watchers: 4
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2018-05-23