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

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

logtail/monolog-logtail
=======================

Logtail handler for Monolog

v3.3.0(1y ago)233.2M↑10.7%13[2 issues](https://github.com/logtail/monolog-logtail/issues)3ISCPHPPHP &gt;=8.1CI passing

Since Aug 11Pushed 1y ago4 watchersCompare

[ Source](https://github.com/logtail/monolog-logtail)[ Packagist](https://packagist.org/packages/logtail/monolog-logtail)[ Docs](https://github.com/logtail/logtail-php)[ RSS](/packages/logtail-monolog-logtail/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (17)Used By (3)

[Better Stack](https://betterstack.com/logs) PHP client
=======================================================

[](#better-stack-php-client)

📣 Logtail is now part of Better Stack. [Learn more ⇗](https://betterstack.com/press/introducing-better-stack/)

[![Better Stack dashboard](https://private-user-images.githubusercontent.com/10132717/241193549-e2a1196b-7924-4abc-9b85-055e17b5d499.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUyNjY2OTUsIm5iZiI6MTc3NTI2NjM5NSwicGF0aCI6Ii8xMDEzMjcxNy8yNDExOTM1NDktZTJhMTE5NmItNzkyNC00YWJjLTliODUtMDU1ZTE3YjVkNDk5LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA0VDAxMzMxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU0MmI3NDk4OWYyYWY2YTA0Mzc4OTI4OTUxNmI3ODUxNjU5YmVlOTk3OWNhNzBlYWExMWZmYzA5NmY1YTI3MDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6mROsvMpUjwDGNc_SiNojtCDnaQjst54f_L59ttSW4c)](https://betterstack.com/logs)

[![ISC License](https://camo.githubusercontent.com/74449a2ea743db04280e6755aa84893b746337e7fb73db513c0fc939c4b2c24f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4953432d6666363962342e737667)](LICENSE.md)[![PHP package](https://camo.githubusercontent.com/f82a536dacd31e92c6bff3423c09a940a5fd95d8220d2a5d48b29b674d7d7632/68747470733a2f2f62616467652e667572792e696f2f70682f6c6f677461696c2532466d6f6e6f6c6f672d6c6f677461696c2e737667)](https://badge.fury.io/ph/logtail%2Fmonolog-logtail)[![Build](https://github.com/logtail/monolog-logtail/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/logtail/monolog-logtail/actions/workflows/main.yml)

Experience SQL-compatible structured log management based on ClickHouse. [Learn more ⇗](https://betterstack.com/logs)

Documentation
-------------

[](#documentation)

[Getting started ⇗](https://betterstack.com/docs/logs/php/)

Need help?
----------

[](#need-help)

Please let us know at . We're happy to help!

**Using older Monolog?** Install Logtail for Monolog 2:

```
composer require logtail/monolog-logtail:^2.0.0
```

---

[ISC license](https://github.com/logtail/monolog-logtail/blob/master/LICENSE.md), [example project](https://github.com/logtail/monolog-logtail/tree/master/example-project)

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance40

Moderate activity, may be stable

Popularity54

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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

Recently: every ~54 days

Total

16

Last Release

474d ago

Major Versions

v0.1.4 → v2.0.02022-10-17

v0.1.5 → v3.0.02023-03-01

v2.1.0 → v3.1.02024-03-20

v2.2.0 → v3.2.02024-06-27

v2.3.0 → v3.3.02025-01-29

PHP version history (2 changes)v0.1.0PHP ^7.3 || ^8

v3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/b20a1401993ac736b653da621eb1129728c44d48fdf76038269126e6650ed0c6?d=identicon)[tomas-logtail](/maintainers/tomas-logtail)

---

Top Contributors

[![simonrozsival](https://avatars.githubusercontent.com/u/374616?v=4)](https://github.com/simonrozsival "simonrozsival (13 commits)")[![JendaTovarys](https://avatars.githubusercontent.com/u/19272921?v=4)](https://github.com/JendaTovarys "JendaTovarys (9 commits)")[![SiMoSiMo2](https://avatars.githubusercontent.com/u/3510616?v=4)](https://github.com/SiMoSiMo2 "SiMoSiMo2 (6 commits)")[![PetrHeinz](https://avatars.githubusercontent.com/u/10008612?v=4)](https://github.com/PetrHeinz "PetrHeinz (6 commits)")[![gyfis](https://avatars.githubusercontent.com/u/1632140?v=4)](https://github.com/gyfis "gyfis (4 commits)")[![jindraregal](https://avatars.githubusercontent.com/u/4135505?v=4)](https://github.com/jindraregal "jindraregal (3 commits)")[![curusarn](https://avatars.githubusercontent.com/u/10132717?v=4)](https://github.com/curusarn "curusarn (2 commits)")[![pizzot](https://avatars.githubusercontent.com/u/15017593?v=4)](https://github.com/pizzot "pizzot (2 commits)")[![jurajmasar](https://avatars.githubusercontent.com/u/801893?v=4)](https://github.com/jurajmasar "jurajmasar (1 commits)")[![rogervila](https://avatars.githubusercontent.com/u/6053012?v=4)](https://github.com/rogervila "rogervila (1 commits)")

---

Tags

logginglogtailmonologpackagistphplogphplogginghandlerloggermonolog

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[inpsyde/wonolog

Monolog-based logging package for WordPress.

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

A Monolog handler and formatter that makes use of the elasticsearch/elasticsearch package

1123.0k](/packages/atrapalo-monolog-elasticsearch)

PHPackages © 2026

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