PHPackages                             tw/server - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. tw/server

ActiveLibrary

tw/server
=========

tw-server

2342PHP

Since Jun 17Pushed 6y agoCompare

[ Source](https://github.com/youyingxiang/tw-client-server)[ Packagist](https://packagist.org/packages/tw/server)[ RSS](/packages/tw-server/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

投票sass
======

[](#投票sass)

- 1: 会员注册,可以登陆后台添加投票项目.超过一定条件 需要支付购买.
- 2: 基于swoole 将后台动态添加选手 投放前端 同时将评委打出的分数 同步前端

操作步骤
----

[](#操作步骤)

- 1: (暂未发布正式版本 用户需要在composer.json的require对象加上"tw/server":"dev-master")
- 2: php artisan vendor:publish --provider="Tw\\Server\\TwServiceProvider"
- 3: 运行 php artisan vendor:publish --provider="Yxx\\Kindeditor\\EditorProvider" 安装上传插件
- 4: php artisan storage:link 建立软连接
- 5: php artisan migrate 执行数据迁移
- 6: composer dump-autoload (执行数据填充准备)
- 7: php artisan db:seed --class=TwUsersTableSeeder 进行数据填充
- 8: Laravel &lt; 5.8 执行 composer require "overtrue/laravel-wechat:~4.0" 否则 composer require "overtrue/laravel-wechat:~5.0"
- 9: php artisan vendor:publish --provider="Overtrue\\LaravelWeChat\\ServiceProvider"
- 10:拉取生成二维码包 composer require simplesoftwareio/simple-qrcode 1.3.\*
- 11:composer require vinkla/hashids 执行 php artisan vendor:publish --provider="Vinkla\\Hashids\\HashidsServiceProvider"
- 12: 启动swoole服务 php artisan tw:swoole 启动swoole

登陆
--

[](#登陆)

- 1 登陆地址：[http://你的url/twserver/login](http://%E4%BD%A0%E7%9A%84url/twserver/login)
- 2 默认账号：18123670736 密码：123456

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 68.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a556fe7375e1f3ca1a30482386f782dbd673a76a0317a83c354294db3d5aa6f3?d=identicon)[yxx](/maintainers/yxx)

---

Top Contributors

[![youyingxiang](https://avatars.githubusercontent.com/u/28653285?v=4)](https://github.com/youyingxiang "youyingxiang (173 commits)")[![Yuxians](https://avatars.githubusercontent.com/u/50731474?v=4)](https://github.com/Yuxians "Yuxians (80 commits)")

### Embed Badge

![Health badge](/badges/tw-server/health.svg)

```
[![Health](https://phpackages.com/badges/tw-server/health.svg)](https://phpackages.com/packages/tw-server)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
