PHPackages                             aseemann/php-livelog - 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. aseemann/php-livelog

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

aseemann/php-livelog
====================

Livelogger for your php projects. See the logs you send to the writer your request.

v0.0.1(4y ago)0984[1 issues](https://github.com/aseemann/php-livelog/issues)AGPL-3.0-or-laterPHPPHP &gt;=7.2

Since Dec 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/aseemann/php-livelog)[ Packagist](https://packagist.org/packages/aseemann/php-livelog)[ RSS](/packages/aseemann-php-livelog/feed)WikiDiscussions master Synced 1w ago

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

PHP Livelog
===========

[](#php-livelog)

What it does
------------

[](#what-it-does)

This small tool should simplify the developer's life by offering the possibility to follow the logs of a web application live.

You don't have to `tail` and `grep` the logfiles direct on the machine or to download it. The logs will only be written for the current session, so you see only the log of your own requests.

Install
-------

[](#install)

The suggested install-method is to use composer `composer req aseemann/php-livelog`. After installing the package you have to set a symlink to the web folder in your public directory e.g. `ln -s vendor/aseemann/php-livelog/web docroot/livelog`

Now you can open the log dashboard in your webbrowser under the path of the symlinks. e.g `domian.tld/livelog`

For easier setup you can add this to your composer.json file in the scripts section.

```
{
    "scripts": {
        "set-symlinks": [
            "ln -sfT ../vendor/aseemann/php-livelog/web docroot/livelog"
        ],
        "post-install-cmd": [
            "@set-symlinks"
        ],
        "post-update-cmd": [
            "@set-symlinks"
        ]
    }
}
```

How to use
----------

[](#how-to-use)

To send logs to the log page integrate the logger into your scripts as described below.

```
$logger = new \ASeemann\PhpLiveLog\Logger('Application Name', 'LoggerName');

$logger->info('A small info massage');

$logger->notice('Some notice', ['data' => 'data for notice']);
```

Afterward the logs should appear on the logging page grouped by the request.

[![screenshot](Doc/screenshot.png)](Doc/screenshot.png)

Connectors
----------

[](#connectors)

For the easy integration in some projects there are also connectors available. So you only have to add some configuration in your application and all logs of your app will appear on the logging page.

### TYPO3

[](#typo3)

Add the following lines to your AdditionalConfiguration.php

```
$GLOBALS['TYPO3_CONF_VARS']['FE']['debug'] = true;
$GLOBALS['TYPO3_CONF_VARS']['BE']['debug'] = true;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_DLOG'] = true,
$GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_errorDLOG'] = true,
$GLOBALS['TYPO3_CONF_VARS']['SYS']['enable_exceptionDLOG'] = true,
$GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLogLevel'] = 0,

if (false === is_array($GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration'][\TYPO3\CMS\Core\Log\LogLevel::DEBUG])) {
    $GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration'][\TYPO3\CMS\Core\Log\LogLevel::DEBUG] = [];
}

$GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration'][\TYPO3\CMS\Core\Log\LogLevel::DEBUG]
[\ASeemann\PhpLiveLog\Connector\TYPO3\LogWriter::class] = [
];

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_div.php']['devLog'] = [];
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_div.php']['devLog'][]
    = \ASeemann\PhpLiveLog\Connector\TYPO3\DevLogger::class . "->devLogger";
```

The lines you take from here may vary depending on you typo3 installation.

You have also the possibility to exclude some loggers. So you can keep the focus on what you want to see. To exclude the logger pass the option `ignorePattern` to the log-writer.

Example: (Ignore all logger wich contains Frontend in their names )

```
$GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration'][\TYPO3\CMS\Core\Log\LogLevel::DEBUG]
[\ASeemann\PhpLiveLog\Connector\TYPO3\LogWriter::class] = [
    'ignorePattern' => '.*Frontend.*'
];
```

Todos
-----

[](#todos)

- Add formatter for context
- escape tags in context
- Add more connectors.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

1611d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3762ba291f9941076e56d9eb0865bd8432d455c459a2b0ea3cd17b29ba57e3d2?d=identicon)[aseemann](/maintainers/aseemann)

---

Top Contributors

[![aseemann](https://avatars.githubusercontent.com/u/17200400?v=4)](https://github.com/aseemann "aseemann (17 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aseemann-php-livelog/health.svg)

```
[![Health](https://phpackages.com/badges/aseemann-php-livelog/health.svg)](https://phpackages.com/packages/aseemann-php-livelog)
```

###  Alternatives

[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2222.9M248](/packages/open-telemetry-sdk)[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1537.5k](/packages/bacula-web-bacula-web)[vinelab/tracing-laravel

Distributed tracing for Laravel made easy

80118.7k1](/packages/vinelab-tracing-laravel)[scoutapp/scout-apm-php

Scout Application Performance Monitoring Agent - https://scoutapm.com

17877.0k5](/packages/scoutapp-scout-apm-php)[subzerobo/elastic-apm-php-agent

PHP Agent for Elastic APM With Intake API V2 Support + UDP Support

1119.1k](/packages/subzerobo-elastic-apm-php-agent)

PHPackages © 2026

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