PHPackages                             scoobydam/console-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. scoobydam/console-logger

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

scoobydam/console-logger
========================

Simple and light PHP console logger

1.0.0(5y ago)234MITPHPPHP &gt;=7.3.0

Since Apr 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/DamienVauchel/console-logger)[ Packagist](https://packagist.org/packages/scoobydam/console-logger)[ RSS](/packages/scoobydam-console-logger/feed)WikiDiscussions master Synced today

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

Simple and light PHP console logger
===================================

[](#simple-and-light-php-console-logger)

This library permits you to easily log messages in console for PHP scripts and apps.

[![Codacy Badge](https://camo.githubusercontent.com/d58a8b5774aaeed39abf86a73ae8da4f869dd4f28d87f184babe6f0f87d65e46/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3537316264366561643934363434363438363830656666303766356331353033)](https://www.codacy.com/gh/DamienVauchel/console-logger/dashboard?utm_source=github.com&utm_medium=referral&utm_content=DamienVauchel/console-logger&utm_campaign=Badge_Grade)

Prerequisites
-------------

[](#prerequisites)

- PHP &gt;= 7.3

Install
-------

[](#install)

You can install the package with git clone and composer install in the directory.

Or you can directly use composer :

```
composer require scoobydam/console-logger
```

Use
---

[](#use)

This library is an easy-to-use and light one.

```
use ScoobyConsoleLogger\ConsoleLogger;

$consoleLogger = new ConsoleLogger();

$consoleLogger->alert('This is an alert !')
    ->divider()
    ->critical('This is critical :/')
    ->emergency('This is an emergency !')
    ->echo('echo some text')
    ->error('This is an error :(')
    ->info('There can be some informations')
    ->notice('Something you need to notice')
    ->success('This is a success !')
    ->warning('This is a warning')
    ->debug('Some debug informations you need to print')
    ->title('This is for some title')
;

$consoleLogger->divider();
```

[![](./doc/images/all_functions.png)](./doc/images/all_functions.png)

You can chain the functions like in the example above or you can just call your logger in different line.

Full documentation
------------------

[](#full-documentation)

To know all what you can do, you can find full documentation [here](./doc/doc.md).

Contributions
-------------

[](#contributions)

You can send PRs if you want to :)

Just, please, follow these [conventions](./doc/conventions.md).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

1858d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d3727bc1ebcc3490aaa344568825566b06548f54ce4e13f200e499e612dfd90?d=identicon)[DamienV](/maintainers/DamienV)

---

Top Contributors

[![DamienVauchel](https://avatars.githubusercontent.com/u/26357852?v=4)](https://github.com/DamienVauchel "DamienVauchel (8 commits)")

---

Tags

consoleconsole-loglogphpphp-consolephp-console-colorphp-console-colourphp-librariesphp-libraryphp7consoleSimpleloggerlightprintechoeasy

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/scoobydam-console-logger/health.svg)

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

###  Alternatives

[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8674.9k](/packages/illuminated-console-logger)[bref/logger

All you need to log with Bref on AWS Lambda

331.5M8](/packages/bref-logger)[markrogoyski/simplelog-php

Powerful PSR-3 logging. So easy, it's simple.

2818.1k4](/packages/markrogoyski-simplelog-php)[devthis/console-logg

Effortless artisan console output with your usual Laravel logger

1112.7k](/packages/devthis-console-logg)

PHPackages © 2026

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