PHPackages                             dalee/monolog-syslog3164 - 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. dalee/monolog-syslog3164

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

dalee/monolog-syslog3164
========================

Monolog handler for syslog3164

v1.0.0(8y ago)11.7kMITPHPPHP &gt;=5.6.0

Since Oct 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Dalee/monolog-syslog3164)[ Packagist](https://packagist.org/packages/dalee/monolog-syslog3164)[ RSS](/packages/dalee-monolog-syslog3164/feed)WikiDiscussions master Synced today

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

Monolog syslog3164 handler
==========================

[](#monolog-syslog3164-handler)

[![Latest Stable Version](https://camo.githubusercontent.com/f0d19fe1e98c1ea0b2a8818ed62a43e5d7951fb3dca3f86ea120ad70696b1146/68747470733a2f2f706f7365722e707567782e6f72672f44616c65652f6d6f6e6f6c6f672d7379736c6f67333136342f76657273696f6e)](https://packagist.org/packages/dalee/monolog-syslog3164)[![Build Status](https://camo.githubusercontent.com/0b63825aa9e4147e742f30854ccd864ef70173c988d7e2fedd0bfab2092ce62a/68747470733a2f2f7472617669732d63692e6f72672f44616c65652f6d6f6e6f6c6f672d7379736c6f67333136342e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Dalee/monolog-syslog3164)[![codecov](https://camo.githubusercontent.com/eff12d4ec8ab2c2d6f488e7046fbddb7722742ed407d252466802f61e80fb30f/68747470733a2f2f636f6465636f762e696f2f67682f44616c65652f6d6f6e6f6c6f672d7379736c6f67333136342f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Dalee/monolog-syslog3164)

Getting started
---------------

[](#getting-started)

```
$ composer require dalee/monolog-syslog3164
```

Example
-------

[](#example)

```
use Monolog\Logger;
use Dalee\Monolog\Handler\Syslog3164Handler;

$logger = new Logger('main');
$handler = new Syslog3164Handler('127.0.0.1', 9010, Syslog3164Handler::FACILITY_UUCP);
$handler->setTag('switchman')->setHostname('app.local');
$logger->pushHandler($handler);
$logger->debug('Error occurred', [
	'system' => 'customer-service',
	'kind' => 'error',
	'payload' => [
		'code' => 5194,
		'message' => 'Error sending report'
	]
]);
```

By default `Syslog3164Handler` is constructed with `127.0.0.1:514`, debug level and bubbling. The default facility is `user`.

The output for above is:

```
Oct  4 23:10:59 app.local php: Error occurred {"system":"customer-service","kind":"error","payload":{"code":5194,"message":"Error sending report"}}

```

Notices
-------

[](#notices)

According to RFC3164, the total length of the packet must be 1024 or less. In most cases that's not what you want so it's disabled by default but you can use `setStrictSize` to turn it on.

The code consists of a single really simple file so there is no separated documentation.

Links
-----

[](#links)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3139d ago

### Community

Maintainers

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

---

Top Contributors

[![ns3777k](https://avatars.githubusercontent.com/u/4613880?v=4)](https://github.com/ns3777k "ns3777k (24 commits)")

---

Tags

monologphp-loggersyslogsyslog3164udploggingmonolog

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dalee-monolog-syslog3164/health.svg)

```
[![Health](https://phpackages.com/badges/dalee-monolog-syslog3164/health.svg)](https://phpackages.com/packages/dalee-monolog-syslog3164)
```

###  Alternatives

[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[logtail/monolog-logtail

Logtail handler for Monolog

233.2M3](/packages/logtail-monolog-logtail)[kdyby/monolog

Integration of Monolog into Nette Framework

33684.0k10](/packages/kdyby-monolog)[inpsyde/logzio-monolog

Logz.io integration for Monolog

191.2M1](/packages/inpsyde-logzio-monolog)[mero/yii2-monolog

The Monolog integration for the Yii framework.

42186.1k](/packages/mero-yii2-monolog)[mead-steve/mono-snag

Bugsnag integration for monolog. An abstract handler that sends messages to Bugsnag

20533.2k1](/packages/mead-steve-mono-snag)

PHPackages © 2026

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