PHPackages                             yjtec/linphe - 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. yjtec/linphe

ActiveLibrary[Framework](/categories/framework)

yjtec/linphe
============

Linphe框架，ioc

0.0.4.8(2y ago)04931MITPHPPHP &gt;5.6

Since Aug 6Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (25)Used By (1)

linphe
======

[](#linphe)

\###route案例

```
use Yjtec\Linphe\Lib\Router;

if (php_sapi_name() == "cli") {// 只允许在cli下面运行
    if (!class_exists('\\Redis', false)) {
        die('必须开启Redis扩展' . PHP_EOL);
    }
//消费者
    Router::cli("/worker(\/.*)*/u", "app\\worker\\worker", 'start');
} else {
//上传
    Router::post("/upload/u", "app\\index", 'upload');
//查询
    Router::get("/status\/[0-9]*/u", "app\\index", 'status');
    Router::get("/notify/u", "app\\index", 'notify');
//管理员
    Router::get("/admin\/jobs(\/[0-9]*)(\/[0-9]*)/u", "app\\admin\\mkpano\\jobs", 'jlist');
}
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.8% 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 ~64 days

Recently: every ~238 days

Total

24

Last Release

1034d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48311842?v=4)[Yjtec](/maintainers/Yjtec)[@yjtec](https://github.com/yjtec)

---

Top Contributors

[![biuio](https://avatars.githubusercontent.com/u/20262245?v=4)](https://github.com/biuio "biuio (45 commits)")[![li20094362760](https://avatars.githubusercontent.com/u/192505514?v=4)](https://github.com/li20094362760 "li20094362760 (2 commits)")[![yjtec](https://avatars.githubusercontent.com/u/48311842?v=4)](https://github.com/yjtec "yjtec (1 commits)")

---

Tags

frameworklinphe

### Embed Badge

![Health badge](/badges/yjtec-linphe/health.svg)

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

###  Alternatives

[hemp/presenter

Easy Model Presenters in Laravel

247608.3k1](/packages/hemp-presenter)[pestphp/pest-plugin-stressless

Stressless plugin for Pest

68943.9k18](/packages/pestphp-pest-plugin-stressless)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1610.2k5](/packages/wpstarter-framework)

PHPackages © 2026

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