PHPackages                             vivid-lamp/framework - 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. vivid-lamp/framework

AbandonedArchivedLibrary

vivid-lamp/framework
====================

php easy framework component

V1.0.2(4y ago)071PHPPHP ^7.1

Since Jul 1Pushed 4y ago1 watchersCompare

[ Source](https://github.com/vivid-lamp/framework)[ Packagist](https://packagist.org/packages/vivid-lamp/framework)[ RSS](/packages/vivid-lamp-framework/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (5)Versions (4)Used By (1)

README
======

[](#readme)

这是一个简易的框架核心。

容器
--

[](#容器)

App 类是框架的核心类，继承了 Illuminate\\Container\\Container。此类除了实现 Psr\\Container\\ContainerInterface 容器接口之外，还提供了创建对象和执行方法时自动注入参数的功能。

服务提供者
-----

[](#服务提供者)

服务提供者需要继承 ServiceProvider 类，并且要在在框架初始化之前注册。

请求调度
----

[](#请求调度)

请求调度由 Http 类完成，此类负责调用全局中间件和路由，最终生成响应对象并输出。

中间件
---

[](#中间件)

全局中间件由 Http::loadMiddleware() 方法载入。

路由
--

[](#路由)

框架基于 nikic/fast-route 封装了 Router 类，你也可以使用自己喜欢的路由组件。

路由中间件
-----

[](#路由中间件)

框架提供的路由提供了路由中间件的功能。

异常
--

[](#异常)

Error 类捕获了所有级别（E\_ALL）的异常，并抛出 Exception\\ErrorException。Exception\\Handler 类报告并输出异常，你也可以继承此类并将自己的实现绑定到这个类上。

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

Total

3

Last Release

1779d ago

PHP version history (2 changes)V1.0.0PHP ^7.3

V1.0.1PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a66bd10c77f671846b14ed201850faa9c65040a24d015bb127429e7303de9b6?d=identicon)[vivid-lamp](/maintainers/vivid-lamp)

---

Top Contributors

[![vivid-lamp](https://avatars.githubusercontent.com/u/42366916?v=4)](https://github.com/vivid-lamp "vivid-lamp (9 commits)")

### Embed Badge

![Health badge](/badges/vivid-lamp-framework/health.svg)

```
[![Health](https://phpackages.com/badges/vivid-lamp-framework/health.svg)](https://phpackages.com/packages/vivid-lamp-framework)
```

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)[windwalker/framework

The next generation PHP framework.

25639.1k1](/packages/windwalker-framework)[yiisoft/yii-middleware

Yii Middleware

21151.3k1](/packages/yiisoft-yii-middleware)

PHPackages © 2026

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