All Projects → swoft-cloud → swoole-ide-helper

swoft-cloud / swoole-ide-helper

Licence: Apache-2.0 license
💪 IDE helper for Swoft and Swoole

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to swoole-ide-helper

swoft-project
基于Swoft的项目结构
Stars: ✭ 17 (-59.52%)
Mutual labels:  swoole, swoft
swoft-ddz
基于swoft框架开发斗地主
Stars: ✭ 70 (+66.67%)
Mutual labels:  swoole, swoft
orange
基于beanstalkd实现多进程处理消息队列的框架
Stars: ✭ 19 (-54.76%)
Mutual labels:  swoole
framework
🦋The PHP Framework For Code Poem As Free As Wind.
Stars: ✭ 65 (+54.76%)
Mutual labels:  swoole
leevel
🚀The Leevel Framework To Rebuild QueryPHP.
Stars: ✭ 35 (-16.67%)
Mutual labels:  swoole
http
Support Swoole Implement PSR7
Stars: ✭ 28 (-33.33%)
Mutual labels:  swoole
swoole-laravel-chat
Simple stateless chat board [Swoole + SocketIO + Laravel]
Stars: ✭ 16 (-61.9%)
Mutual labels:  swoole
swoole-cs.github.io
swoole 4.x cheat sheet
Stars: ✭ 21 (-50%)
Mutual labels:  swoole
swoft-devtool
🛠️ Dev tool for Swoft [READ ONLY]
Stars: ✭ 27 (-35.71%)
Mutual labels:  swoft
static-php-cli
Build single static PHP binary in linux, build with PHP project together, with Swoole and other popular extensions included.
Stars: ✭ 129 (+207.14%)
Mutual labels:  swoole
RidPT
A Private Tracker System
Stars: ✭ 102 (+142.86%)
Mutual labels:  swoole
awesome-swoole
💎 A curated list of awesome things related to Swoole.
Stars: ✭ 129 (+207.14%)
Mutual labels:  swoole
swoft-doc
📖 Swoft Framework Document(swoft.io)
Stars: ✭ 97 (+130.95%)
Mutual labels:  swoft
gotask
⚡️ A lightning speed replacement for Swoole TaskWorker in Go
Stars: ✭ 164 (+290.48%)
Mutual labels:  swoole
http-emitter
📡 Emitting psr-7 responses.
Stars: ✭ 31 (-26.19%)
Mutual labels:  swoole
kafka-swoole
☝️Implement all kafka protocols, providing 'HighLevel' and 'LowLevel' client apis respectively, and utilize swoole to realize collaboration and flexibly extend consumers' client, which is the first php-kafka client to support multiple compression forms
Stars: ✭ 33 (-21.43%)
Mutual labels:  swoole
wlsh-framework
名词解释:wlsh( 为了生活---每个字的第一个拼音 )酷毙的码农为了生活自由,基于composer整合yaf框架与swoole等扩展,开发的php协程组件;低耦合,使用非常少的语法糖,尽量使用原有扩展中的语法。
Stars: ✭ 18 (-57.14%)
Mutual labels:  swoole
docs
Lawoole documentation
Stars: ✭ 12 (-71.43%)
Mutual labels:  swoole
MineAdmin
🎉🌈🔥MineAdmin是基于Hyperf框架 和 Vue3+Vite3 开发的前后端分离权限管理系统,自适应多终端。特色:crud生成 + json配置化开发一把梭
Stars: ✭ 142 (+238.1%)
Mutual labels:  swoole
homebrew-extensions
🍻 Homebrew tap for PHP extensions
Stars: ✭ 264 (+528.57%)
Mutual labels:  swoole

Swoole IDE Helper

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

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].