2017 © Pedro Peláez
 

library swoole-ide-helper

ide helper for Swoft and Swoole

image

swoft/swoole-ide-helper

ide helper for Swoft and Swoole

  • Tuesday, May 29, 2018
  • by swoft
  • Repository
  • 4 Watchers
  • 6 Stars
  • 2,447 Installations
  • PHP
  • 30 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 3 Versions
  • 1797 % Grown

The README.md

Swoole IDE Helper

Latest Stable Version Packagist License, (*1)

Add IDE helper for the swoole extension, forked from swoole/ide-helper, (*2)

swoft/swoole-ide-helper keep the same version of swoole, (*3)

Diff With swoole/ide-helper

Different from the source repository: variable types are added to most method parameters for easy reference., (*4)

Old:, (*5)

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

Now:, (*6)

/**
 * @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., (*7)

You can add it by composer:, (*8)

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., (*9)

Of course, you must ensure that the swoole extension is already installed., (*10)

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

By docker:, (*11)

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

LICENSE

See LICENSE, (*12)

The Versions

29/05 2018

dev-master

9999999-dev

ide helper for Swoft and Swoole

  Sources   Download

Apache-2.0

php swoole ide-helper swoft

29/05 2018

dev-inhere-patch-1

dev-inhere-patch-1

ide helper for Swoft and Swoole

  Sources   Download

Apache-2.0

php swoole ide-helper swoft

23/05 2018

v2.1.3

2.1.3.0

ide helper for Swoft and Swoole

  Sources   Download

Apache-2.0

php swoole ide-helper swoft