PHPackages                             craftix/swoole-logger - 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. craftix/swoole-logger

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

craftix/swoole-logger
=====================

A high-performance, asynchronous logger built with PHP and Swoole

v1.0.1(10mo ago)00MITPHPPHP &gt;=8.2

Since Jul 12Pushed 10mo agoCompare

[ Source](https://github.com/mirataollahi/swoole-logger)[ Packagist](https://packagist.org/packages/craftix/swoole-logger)[ RSS](/packages/craftix-swoole-logger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

⚡ Swoole Logger
===============

[](#-swoole-logger)

A **high-performance, non-blocking logger** designed for [Swoole](https://www.swoole.co.uk/) applications in PHP. Built for speed and designed to handle logs asynchronously with minimal overhead.

> 🧠 Ideal for real-time applications, microservices, game servers, and long-running daemons built with PHP + Swoole.

---

🚀 Features
----------

[](#-features)

- Asynchronous logging with optional buffer
- Zero I/O blocking during log write
- Structured log data (level, tags, timestamp, service name)
- Supports multiple output printers (default: Console)
- Color-coded logs by level
- Easily extensible for custom outputs (e.g., File, Elasticsearch)
- Lightweight and production-ready

---

📦 Installation
--------------

[](#-installation)

```
composer require craftix/logger
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance58

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Every ~0 days

Total

2

Last Release

301d ago

### Community

Maintainers

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

---

Top Contributors

[![mirataollahi](https://avatars.githubusercontent.com/u/44911100?v=4)](https://github.com/mirataollahi "mirataollahi (5 commits)")

---

Tags

phpasynchronousloggingswooleloggerhigh-performance

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/craftix-swoole-logger/health.svg)

```
[![Health](https://phpackages.com/badges/craftix-swoole-logger/health.svg)](https://phpackages.com/packages/craftix-swoole-logger)
```

###  Alternatives

[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[logtail/monolog-logtail

Logtail handler for Monolog

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

PHPackages © 2026

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