PHPackages                             lys/spring-php - 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. lys/spring-php

ActiveLibrary[Framework](/categories/framework)

lys/spring-php
==============

SpringPHP是一款基于Swoole的高性能框架

v0.1.6(2y ago)5253Apache-2.0PHPPHP &gt;=7.2

Since Feb 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/1107012776/spring-php)[ Packagist](https://packagist.org/packages/lys/spring-php)[ RSS](/packages/lys-spring-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (28)Used By (0)

SpringPHP - 高性能 Swoole 框架
=========================

[](#springphp---高性能-swoole-框架)

SpringPHP is a high-performance framework based on Swoole.

Official website (Under construction)
=====================================

[](#official-website-under-construction)

About Project
=============

[](#about-project)

SpringPHP is my first framework and also the precipitation of my own technology.

TODO
====

[](#todo)

- MVC
- Custom routing
- Support for file-based session components
- RPC、WebSocket RPC
- Timed task
- Support Socket, WebSocket, HTTP
- Support for multiple modules
- Case practice
- Improve documentation

Introduction
============

[](#introduction)

It is currently in the testing stage, please use it in the production environment with caution.

Environment
===========

[](#environment)

- PHP &gt;= 7.2
- Swoole &gt;= 4.1.0

Installation
============

[](#installation)

php composer.phar create-project spring-php/demo \[Directory name\] \[Version\]

#### As follows:

[](#as-follows)

```
//You can freely delete unwanted code
php composer.phar create-project spring-php/demo demo dev-master
```

Demo
====

[](#demo)

`https://github.com/1107012776/spring-php-demo`

Example
=======

[](#example)

### Start up

[](#start-up)

```
php spring-php start   //Guardian mode needs to add -d after start
```

```

////////////////////////////////////////////////////////////////////
//      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        //
//                          SpringPHP                             //
//            https://github.com/1107012776/spring-php            //
////////////////////////////////////////////////////////////////////

```

### Shut down

[](#shut-down)

```
php spring-php stop
```

### Restart worker

[](#restart-worker)

```
php spring-php reload
```

### View program process

[](#view-program-process)

```
php spring-php process
```

```
 spring-php
  \_ spring-php.Manager
  |       \_ spring-php.task.2 pid=29352
  |       \_ spring-php.task.3 pid=29354
  |       \_ spring-php.worker.0 listen:0.0.0.0:7999
  |       \_ spring-php.worker.1 listen:0.0.0.0:7999
  |       \_ spring-php RenderWorker unix worker pid=29363
  |       \_ spring-php RenderWorker unix worker pid=29364
  |       \_ spring-php RenderWorker unix worker pid=29365
  |       \_ spring-php.Crontab worker pid=29368
  \_ spring-php.Manager
  |       \_ spring-php.task.2 pid=29349
  |       \_ spring-php.task.3 pid=29350
  |       \_ spring-php.worker.0 listen:0.0.0.0:8098
  |       \_ spring-php.worker.1 listen:0.0.0.0:8098
  |       \_ spring-php RenderWorker worker pid=29357 listen:0.0.0.0:8099
  |       \_ spring-php RenderWorker worker pid=29369 listen:0.0.0.0:8100
  \_ spring-php.Manager
          \_ spring-php.task.2 pid=29358
          \_ spring-php.task.3 pid=29359
          \_ spring-php.worker.0 listen:0.0.0.0:8297
          \_ spring-php.worker.1 listen:0.0.0.0:8297
          \_ spring-php RenderWorker worker pid=29366 listen:0.0.0.0:8298
          \_ spring-php RenderWorker worker pid=29367 listen:0.0.0.0:8299
```

Page visitor counter
====================

[](#page-visitor-counter)

[![visitor counter](https://camo.githubusercontent.com/4dda8806b6a5d557eebf527dc235c61df666998afa657285eb67e8f7d41914d1/68747470733a2f2f70726f66696c652d636f756e7465722e676c697463682e6d652f313130373031323737365f737072696e672d7068702f636f756e742e737667)](https://camo.githubusercontent.com/4dda8806b6a5d557eebf527dc235c61df666998afa657285eb67e8f7d41914d1/68747470733a2f2f70726f66696c652d636f756e7465722e676c697463682e6d652f313130373031323737365f737072696e672d7068702f636f756e742e737667)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

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 ~24 days

Recently: every ~149 days

Total

27

Last Release

930d ago

### Community

Maintainers

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

---

Top Contributors

[![1107012776](https://avatars.githubusercontent.com/u/19473863?v=4)](https://github.com/1107012776 "1107012776 (44 commits)")

---

Tags

phpswooleSpringPHPspring-php

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lys-spring-php/health.svg)

```
[![Health](https://phpackages.com/badges/lys-spring-php/health.svg)](https://phpackages.com/packages/lys-spring-php)
```

###  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)
