PHPackages                             wxxiong6/yii-seaslog - 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. wxxiong6/yii-seaslog

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

wxxiong6/yii-seaslog
====================

Yii2日志模块使用Seaslog

1.0.0(6y ago)48MITPHPPHP &gt;=5.4

Since Jul 25Pushed 6y agoCompare

[ Source](https://github.com/wxxiong6/yii-seaslog)[ Packagist](https://packagist.org/packages/wxxiong6/yii-seaslog)[ RSS](/packages/wxxiong6-yii-seaslog/feed)WikiDiscussions master Synced 2w ago

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

yii2-seasLog extension
======================

[](#yii2-seaslog-extension)

使用SeasLog高效日志扩展替换Yii2框架的日志模块，使其提高写日志效率。只需配置就可以实现。

SeasLog扩展

Requirements
------------

[](#requirements)

- Yii2
- PHP &gt;=5.4
- ext-seaslog installed

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

[](#installation)

```
composer require wxxiong6/yii-seaslog:"1.0.0"
```

Usage
-----

[](#usage)

main.php

```
    'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
            'targets' => [
                'default' => [
                    'class' => 'wxxiong6\yii\seaslog\Yii2SeasLog',
                    'levels' => ['trace', 'info', 'error', 'warning'],
                    'logFile' => 'backend/runtime/',
                    'logVars' => [],
                ],
            ],
        ],
```

为了跟yii2日志格式一致,修改php.ini seaslog日志格式

```
seaslog.default_template = %T %M
```

Changelog
---------

[](#changelog)

##### Release 1.0 - Changelog

[](#release-10---changelog)

- Official stable release

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2533d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6983441?v=4)[wxxiong6](/maintainers/wxxiong6)[@wxxiong6](https://github.com/wxxiong6)

---

Tags

seaslogyii-seaslogyii2-seaslog

### Embed Badge

![Health badge](/badges/wxxiong6-yii-seaslog/health.svg)

```
[![Health](https://phpackages.com/badges/wxxiong6-yii-seaslog/health.svg)](https://phpackages.com/packages/wxxiong6-yii-seaslog)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.0k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

2141.5M263](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M318](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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