PHPackages                             shy/swostar-frame - 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. [Framework](/categories/framework)
4. /
5. shy/swostar-frame

ActiveProject[Framework](/categories/framework)

shy/swostar-frame
=================

基于swoole的简易服务器框架

02PHPCI failing

Since Jun 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/yy0821/shy-swostar-frame)[ Packagist](https://packagist.org/packages/shy/swostar-frame)[ RSS](/packages/shy-swostar-frame/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

shy-swostar-frame
=================

[](#shy-swostar-frame)

基于swoole的简易服务器框架

安装
--

[](#安装)

路由服务器下载地址

```
composer create-project shy/swocloud:dev-master swocloud
```

框架下载地址

```
composer create-project shy/swostar-frame:dev-master swostar-frame
```

应用
--

[](#应用)

配置服务器信息

```
config/server.php
```

首先启动路由服务器

```
php bin/swocloud
```

在启动IM服务器 http服务器

```
php bin/swostar http
```

webSocket服务器

```
php bin/swostar ws
```

目录结构
----

[](#目录结构)

www 部署目录（或者子目录）
├─app 应用目录
│ ├─Http HTTP服务
│ │ ├─Controllers 控制器
│ ├─WebSocket WebSocket服务
│ │ ├─Controllers 控制器
│ ├─Listeners 监听事件
│
├─bin 启动目录
│ ├─swostar 启动服务入口
│
├─common 公共目录
│ ├─common.php 公共函数文件
│
├─config 配置文件目录
│ ├─database.php 数据库配置文件
│ ├─server.php 服务器配置文件
│
├─route 路由文件目录
│ ├─http.php http路由
│ ├─webSocket.php webSocket路由
│
├─tests 测试目录\\

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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/9dbd049c2443f45ab70d54ccf0eff5de7f5e6dae21cb6053483d638d22035f6f?d=identicon)[yy0821](/maintainers/yy0821)

---

Top Contributors

[![yy0821](https://avatars.githubusercontent.com/u/57890476?v=4)](https://github.com/yy0821 "yy0821 (9 commits)")

### Embed Badge

![Health badge](/badges/shy-swostar-frame/health.svg)

```
[![Health](https://phpackages.com/badges/shy-swostar-frame/health.svg)](https://phpackages.com/packages/shy-swostar-frame)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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