PHPackages                             leehootools/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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. leehootools/yii2-leehoo-yctools

ActiveYii2-extension[Logging &amp; Monitoring](/categories/logging)

leehootools/yii2-leehoo-yctools
===============================

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

v1.1.3(4y ago)09BSD-4-ClausePHP

Since Sep 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/lihuo1992/yii2-leehoo-yctools)[ Packagist](https://packagist.org/packages/leehootools/yii2-leehoo-yctools)[ RSS](/packages/leehootools-yii2-leehoo-yctools/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (4)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

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Total

3

Last Release

1689d ago

### Community

Maintainers

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

---

Tags

yii2extension

### Embed Badge

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

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

###  Alternatives

[mito/yii2-sentry

Yii 2 extension for Sentry

92377.7k](/packages/mito-yii2-sentry)[sammaye/yii2-audittrail

A port of audit trail

39408.2k](/packages/sammaye-yii2-audittrail)[lav45/yii2-activity-logger

Tools to store user activity log for Yii2

3456.3k](/packages/lav45-yii2-activity-logger)[kriss/yii2-log-reader

Yii2 log reader

1340.1k1](/packages/kriss-yii2-log-reader)[apollo11/yii2-logger

Log application errors in slack channel

1011.4k1](/packages/apollo11-yii2-logger)

PHPackages © 2026

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