PHPackages                             laocc/esp - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. laocc/esp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

laocc/esp
=========

(esp)Efficient Simple PHP

1.16.6(2mo ago)21.8k3Apache-2.0PHPPHP &gt;=8.1

Since Dec 2Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/laocc/esp)[ Packagist](https://packagist.org/packages/laocc/esp)[ Docs](https://github.com/laocc/esp)[ RSS](/packages/laocc-esp/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (6)Versions (37)Used By (3)

ESP (Efficient Simple PHP)
==========================

[](#esp-efficient-simple-php)

- PHP&gt;8.1
- 这是一个高效简洁的PHP框架
- 框架已应用于实际项目多年，但仍处于持续完善阶段，升级时请注意查看更新说明。

License
-------

[](#license)

This project is licensed under a custom open-source license — see the [LICENSE](LICENSE) file for details.

框架安装
====

[](#框架安装)

1. `composer`直接安装：

```
composer create-project laocc/esp-install website

```

其中`website`为项目目录，可任意自定义

2. 在`composer.json`中引入

```
{
  "name": "website/1.1",
  "require": {
    "laocc/esp": "*"
  }
}
```

在生产环境中，建议执行加载优化

```
composer dump-autoload --optimize

```

本库`readme`目录中含有核心部分的文档：

文档目录
====

[](#文档目录)

- [文档目录](./readme/0.aboutme.md)
- [控制器、控制器方法`Controller`](./readme/1.controllers.md)
- [视图`View`和`layout`](./readme/2.views.md)
- [数据模型`Model`](./readme/3.models.md)
- [数据库`Mysql`及`Redis`](./readme/4.databases.md)
- [路由`Router`](./readme/5.routes.md)
- [请求方法控制`Request`](./readme/6.request.md)
- [结果显示`Response`和`Response`](./readme/7.response.md)
- [`Cookies`和`Session`](./readme/8.cookies.md)
- [标签解析器`Adapter`](./readme/9.adapter.md)
- [缓存及生成静态文件`Cache`](./readme/10.cache.md)
- [插件`Plugs`和`bootstrap`](./readme/11.plugs.md)
- [调试器`Debug`](./readme/20.debug.md)

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance86

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

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

Recently: every ~28 days

Total

35

Last Release

73d ago

PHP version history (2 changes)1.13.10PHP &gt;=8.0

1.15.2PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20593163?v=4)[老船长](/maintainers/laocc)[@laocc](https://github.com/laocc)

---

Top Contributors

[![laocc](https://avatars.githubusercontent.com/u/20593163?v=4)](https://github.com/laocc "laocc (384 commits)")

### Embed Badge

![Health badge](/badges/laocc-esp/health.svg)

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

PHPackages © 2026

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