PHPackages                             cockroach/swoole-boot - 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. cockroach/swoole-boot

ActiveLibrary[Framework](/categories/framework)

cockroach/swoole-boot
=====================

swoole-boot

1.0.2(6y ago)56MITPHPPHP ^7.0

Since Oct 8Pushed 6y ago1 watchersCompare

[ Source](https://github.com/swoole-boot/swoole-boot)[ Packagist](https://packagist.org/packages/cockroach/swoole-boot)[ Docs](https://github.com/swoole-boot/swoole-boot)[ RSS](/packages/cockroach-swoole-boot/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (0)

swoole-boot
===========

[](#swoole-boot)

- [依赖软件包地址](#%E4%BE%9D%E8%B5%96%E8%BD%AF%E4%BB%B6%E5%8C%85%E5%9C%B0%E5%9D%80)
- [服务基础架构设计](#%E6%9C%8D%E5%8A%A1%E5%9F%BA%E7%A1%80%E6%9E%B6%E6%9E%84%E8%AE%BE%E8%AE%A1)
- [安装方式](#%E5%AE%89%E8%A3%85%E6%96%B9%E5%BC%8F)
- [进程管理](#%E8%BF%9B%E7%A8%8B%E7%AE%A1%E7%90%86)
- [目录介绍](#%E7%9B%AE%E5%BD%95%E4%BB%8B%E7%BB%8D)

依赖软件包地址
=======

[](#依赖软件包地址)

[依赖软件包地址](https://github.com/swoole-boot/soft)

- 1.依赖安装方式可以参考上方地址
- 2.本项目应用不依赖nginx，具体依赖项可以参考[cockroach/swoole-boot](https://packagist.org/packages/cockroach/swoole-boot)

[回到目录](#swoole-boot)

服务基础架构设计
========

[](#服务基础架构设计)

[![架构图](https://github.com/swoole-boot/swoole-boot/raw/master/swoole-boot-micro-server.png?raw=true)](https://github.com/swoole-boot/swoole-boot/blob/master/swoole-boot-micro-server.png?raw=true)

[回到目录](#swoole-boot)

安装方式
====

[](#安装方式)

```
#composer create-project cockroach/elephant 目录 版本
#如：
composer create-project cockroach/swoole-boot boot 1.0.2
```

[回到目录](#swoole-boot)

进程管理
====

[](#进程管理)

```
#启动
/usr/local/php/bin/php /yourpath/app/boot.php start

#停止
/usr/local/php/bin/php /yourpath/app/boot.php stop

#重启
/usr/local/php/bin/php /yourpath/app/boot.php restart
```

[回到目录](#swoole-boot)

目录介绍
====

[](#目录介绍)

```
-- yourpath       微服务项目目录

  -- app              应用目录
     -- conf            配置
     -- funcs           函数目录,支持子目录
     -- logic           业务逻辑层
     -- models          模型,数据访问层

  -- framework        源码目录
     -- db                数据库驱动
     -- dispatcher        调度器
     -- route             路由
     -- server            服务
     -- Application.php   应用类
     -- Context.php       协程上下文
     -- Func.php          函数基类
     -- Error.php         错误与异常处理

```

[回到目录](#swoole-boot)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~14 days

Total

3

Last Release

2380d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/470981d9a18c9a0f789966cf804d9169fd00148e7f1e3b0b8f70d4def9f56ce4?d=identicon)[cockroach](/maintainers/cockroach)

---

Top Contributors

[![jhq0113](https://avatars.githubusercontent.com/u/10301604?v=4)](https://github.com/jhq0113 "jhq0113 (41 commits)")

---

Tags

phpswoolecockroachyafelephantswoole-boot

### Embed Badge

![Health badge](/badges/cockroach-swoole-boot/health.svg)

```
[![Health](https://phpackages.com/badges/cockroach-swoole-boot/health.svg)](https://phpackages.com/packages/cockroach-swoole-boot)
```

###  Alternatives

[hyperf/hyperf-skeleton

A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.

301187.4k](/packages/hyperf-hyperf-skeleton)

PHPackages © 2026

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