PHPackages                             laravel-dev-common/union-log - 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. laravel-dev-common/union-log

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

laravel-dev-common/union-log
============================

Laravel dev log util

1.0.7(9y ago)028MITPHPPHP &gt;=5.5.9

Since Dec 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/zhangkexiang/union-log)[ Packagist](https://packagist.org/packages/laravel-dev-common/union-log)[ Docs](https://github.com/zhangkexiang/union-log)[ RSS](/packages/laravel-dev-common-union-log/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (9)Used By (0)

\#union-log 使用方法:

laravel5.1结构中 在config文件夹创建union.php

example:

return \[ 'log'=&gt;\[ 'sms'=&gt;'/tmp/laravel.log' \]

\];

使用:

```
use Union\Log;
//异常情况 没有配置sendsms
Log::sendsms_info('success','daily');
Log::sendsms_info('success');//sendsms 配置不存在则不进行日志打印

//正常情况
Log::sms_info('asdf');//单个info日志
Log::sms_info('asdf','daily');//每日的info日志
Log::sms_error('asdf','daily');// 每日的错误日志
Log::sms_info('asdf','daily','error');// 每日的错误日志 限制'error'一下不打印 所以该信息不打印

//debug\info\notice\warning\error\critical\alert\emergency

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

8

Last Release

3404d ago

### Community

Maintainers

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

---

Top Contributors

[![frame-php-free](https://avatars.githubusercontent.com/u/42052492?v=4)](https://github.com/frame-php-free "frame-php-free (8 commits)")

---

Tags

logutil

### Embed Badge

![Health badge](/badges/laravel-dev-common-union-log/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-dev-common-union-log/health.svg)](https://phpackages.com/packages/laravel-dev-common-union-log)
```

###  Alternatives

[symfony/monolog-bundle

Symfony MonologBundle

2.9k249.1M1.5k](/packages/symfony-monolog-bundle)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k6](/packages/inpsyde-wonolog)[amphp/log

Non-blocking logging for PHP based on Amp, Revolt, and Monolog.

402.6M70](/packages/amphp-log)[ytake/laravel-fluent-logger

fluent logger for laravel and lumen

63541.6k1](/packages/ytake-laravel-fluent-logger)[logtail/monolog-logtail

Logtail handler for Monolog

233.2M3](/packages/logtail-monolog-logtail)[inpsyde/logzio-monolog

Logz.io integration for Monolog

191.2M1](/packages/inpsyde-logzio-monolog)

PHPackages © 2026

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