zhamao/logger
zhamao/logger is a lightweight logging library for PHP applications, offering configurable log levels, file and console output, and simple integration with Zhamao-based projects. Use it to write, format, and manage application logs with minimal setup.
Consider it when all of the following hold:
Log channels and Monolog handlers already cover you.Look elsewhere when:
monolog/monolog or psr/log implementations that plug into Laravel, Symfony, and hosted log platforms.Illuminate\Console output styling and the existing Log facade make a new logger redundant.For executives: This is a small, free, Apache-2.0 licensed utility that improves the readability of the command-line tools our engineers use internally. It is not customer-facing and carries no licensing cost. The strategic value is marginal but the cost is near zero: it saves our team from writing and maintaining console-formatting code themselves. The material caveat is maturity — the project has a single maintainer and essentially no adoption, so we would pin the version, review the source, and be prepared to fork it. It should be treated as an internal convenience, not foundational infrastructure.
For engineering: zhamao/logger is a thin console logger for PHP CLI apps — colored levels, timestamps, formatted output. It is worth taking only if we are building a standalone CLI and want readable terminal output without pulling Monolog's full handler stack. It is not a replacement for our application logging: no PSR-3, no structured output, no sinks, no rotation. Recommended posture is to vendor or wrap it behind a small internal interface so we can swap it later, keep it out of any customer-facing request path, and verify it against our PHP version matrix before adoption. If our needs are anything beyond pretty terminal output, we should default to Monolog and skip this.
How can I help you explore Laravel packages today?