PHPackages                             leehoo-response-log/yii2-leehoo-yctools - 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. leehoo-response-log/yii2-leehoo-yctools

Abandoned → [leehoo-response-log/yii2-leehoo-yctools](/?search=leehoo-response-log%2Fyii2-leehoo-yctools)Yii2-extension

leehoo-response-log/yii2-leehoo-yctools
=======================================

响应日志+Debug+接口返回json+操作文件+其他常用

02PHP

Since Sep 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/lihuo1992/yii2-leehoo-yctools)[ Packagist](https://packagist.org/packages/leehoo-response-log/yii2-leehoo-yctools)[ RSS](/packages/leehoo-response-log-yii2-leehoo-yctools/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (2)DependenciesVersions (1)Used By (0)

易芽开发项目必要工具
==========

[](#易芽开发项目必要工具)

响应日志+Debug+接口返回json+操作文件+其他常用

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist leehootools/yii2-leehoo-yctools "*"

```

or add

```
"leehootools/yii2-leehoo-yctools": "*"

```

to the require section of your `composer.json` file.

应用
--

[](#应用)

##### 响应日志使用ResponseLog举例:

[](#响应日志使用responselog举例)

```

```

##### 用户授权功能

[](#用户授权功能)

- 首先配置Mysql用户表和Redis链接名：

```
namespace leehooyctools\config;

class Connection
{
       //配置用户Mysql表连接
    const USER_DB_CONNENCT = [
        'dsn' => 'mysql:host=127.0.0.1:9963;dbname=webapp',
        'username' => 'root',
        'password' => '',
        'charset' => 'utf8mb4'
    ];

    //配置用户Redis连接
    const USER_REDIS_CONNENCT = [
        'hostname'=>'127.0.0.1',
        'port'=>6379,
        'database'=>0
    ];
}
```

- 调用函数

```
\leehooyctools\user\UserAuth::createUserAuthByOpenid('o-QfV6Byn1KWCsxA-q0uXqN6VSKs','walPluginAdv',1670000000,'微信识别朋友圈转发，自动授权');
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

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.

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/leehoo-response-log-yii2-leehoo-yctools/health.svg)

```
[![Health](https://phpackages.com/badges/leehoo-response-log-yii2-leehoo-yctools/health.svg)](https://phpackages.com/packages/leehoo-response-log-yii2-leehoo-yctools)
```

PHPackages © 2026

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