PHPackages                             zjlsliupei/phpweb - 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. zjlsliupei/phpweb

ActiveProject[Framework](/categories/framework)

zjlsliupei/phpweb
=================

web framework for php

v0.0.2(5y ago)05Apache-2.0PHPPHP &gt;=7.1.0

Since Nov 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zjlsliupei/phpweb)[ Packagist](https://packagist.org/packages/zjlsliupei/phpweb)[ Docs](http://thinkphp.cn/)[ RSS](/packages/zjlsliupei-phpweb/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

phpweb框架
========

[](#phpweb框架)

phpweb框架基于thinkphp6.0稳定版制作

安装
--

[](#安装)

composer create-project zjlsliupei/phpweb web1

配置
--

[](#配置)

跟环境有关配置都配置在根目录下，分别是以下3个，最终应用的是.env配置，不同环境采用覆盖方式

- .dev.env (开发环境配置)
- .test.env (测试环境配置)
- .prod.env (正式环境配置)

token
-----

[](#token)

token生成方法

```
// 实例化token类，并采用tp的缓存方案来保存token
$ins = \token\Factory::instance(\token\driver\TpCache::class);
// token绑定参数为'{"name":"liupei"}'， 过期时间为3600秒，并返回生成的token
$token = $ins->set('{"name":"liupei"}', 3600);
```

token验证 框架会自动验证token合法性，拦截不合法请求，如果要过滤某些接口不验证，请修改config/app.php

```
    // 配置不检测token的pathinfo，不区分大小写
    'allow_pathinfo' => [
        'index/index/index', // index/index/index接口不验证token
    ]
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

2022d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9744c071fc6a77b11442cc67fdab6432fb42c0ba8866d7443870f9b1cb39695c?d=identicon)[liupei](/maintainers/liupei)

---

Top Contributors

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

---

Tags

frameworkormthinkphp

### Embed Badge

![Health badge](/badges/zjlsliupei-phpweb/health.svg)

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

###  Alternatives

[topthink/think

the new thinkphp framework

8.0k1.2M13](/packages/topthink-think)

PHPackages © 2026

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