PHPackages                             format\_rsyslog/laravel\_rsyslog - 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. format\_rsyslog/laravel\_rsyslog

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

format\_rsyslog/laravel\_rsyslog
================================

1.0.3(7y ago)0344PHP

Since Mar 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Cailiang/laravel_rsyslog)[ Packagist](https://packagist.org/packages/format_rsyslog/laravel_rsyslog)[ RSS](/packages/format-rsyslog-laravel-rsyslog/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

### Installation

[](#installation)

```
$ composer require "format_rsyslog/laravel_rsyslog" -vvv
```

### 要求

[](#要求)

laravel 版本 &gt;= 5.6

### 注册

[](#注册)

config -&gt; app.php -&gt; providers 添加 Output\\Standardlog\\StandardlogServiceProvider::class config -&gt; app.php -&gt; aliases 添加 "Standardlog" =&gt; Output\\Standardlog\\Facades\\Standardlog::class

### env 配置

[](#env-配置)

PAPERTRAIL\_URL = （rsyslog 服务器 ip） PAPERTRAIL\_PORT = 514

### 使用

[](#使用)

项目中添加 use Standardlog

```
    Standardlog::info($content,  $message, $label, $channel);
    Standardlog::debug($content,  $message, $label, $channel);
    Standardlog::error($content,  $message, $label, $channel');
    Standardlog::warning$content,  $message, $label, $channel);
    Standardlog::notice($content,  $message, $label, $channel);

```

参数含义： content： 错误内容 message: 错误提示 label：错误类型 1：业务 2： 代理 3：网络 默认为 1 channel： 默认 papertrail 以请求 ip 方式 与 rsyslog 服务器交互

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

4

Last Release

2585d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9392735f24dd22252a636537922bb815bfdb898c4974b58bede6d892ee1823f2?d=identicon)[wuwielk](/maintainers/wuwielk)

### Embed Badge

![Health badge](/badges/format-rsyslog-laravel-rsyslog/health.svg)

```
[![Health](https://phpackages.com/badges/format-rsyslog-laravel-rsyslog/health.svg)](https://phpackages.com/packages/format-rsyslog-laravel-rsyslog)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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