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

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

apploud/logger
==============

Monolog integration into Apploud projects

v1.4.2(1y ago)0351proprietaryPHPPHP ^8.1

Since Jun 27Pushed 1y ago2 watchersCompare

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

READMEChangelogDependencies (18)Versions (9)Used By (1)

Apploud Logger
==============

[](#apploud-logger)

This package integrates [Monolog](https://github.com/Seldaek/monolog) into Apploud projects.

It uses [contributte ingegration](https://github.com/contributte/monolog) and adds some features:

- `\Apploud\Logger\Logger` class with `logException()` method to easily log exceptions
- default logger configuration, which can be updated across projects with `composer update`
- local storage driver, which adds bluescreen URL to logs accessible through webserver

Installation
------------

[](#installation)

Just use composer:

```
composer require apploud/logger
```

### Minimal configuration

[](#minimal-configuration)

Add extension to `config.neon`:

```
extensions:
	logger: Apploud\Logger\DI\LoggerExtension

logger:
	bluescreen:
		logDir: %appDir%/../log # path to store bluescreens in
		logDirUrl: %server.baseUrl%/_belogs # URL to bluescreens directory, without trailing slash
```

Usage
-----

[](#usage)

Extension adds `\Apploud\Logger\Logger` to DI container. This logger also implements `\Psr\Log\LoggerInterface` interface.

### Advanced configuration

[](#advanced-configuration)

See commented example:

```
logger:
	bluescreen:
		logDir: %appDir%/../log # path to store bluescreens in
		logDirUrl: %server.baseUrl%/_belogs # URL to bluescreens directory, without trailing slash
		minLevel: Monolog\Level::Warning # minimal Level for creating bluescreens, defaults to Warning
	requestIds:
		process: true # if true, Request ID processor adds request tracing information to logs
		requestIdHeader: X-Request-ID
		correlationIdHeader: X-Correlation-ID
		extraFieldName: request # field name in `extra` section
	jwt:
		process: true # if true, JWT processor adds decoded fields from JTW token in Authorization header to logs
		fields: # which fields from JWT should be added to logs
			- sub
			- jti
		extraFieldName: jwt # field name in `extra` section
	extraHandlers: # Adds handlers to default logger, syntax same as in contributte extension
		-
			factory: Monolog\Handler\StreamHandler("%appDir%/../log/default.log")
			setup:
				- setFormatter(Monolog\Formatter\JsonFormatter())
	extraProcessors: # Adds processors to default logger, syntax same as in contributte extension
		- Monolog\Processor\MemoryPeakUsageProcessor()
	channels: # Adds other loggers, syntax same as in contributte extension
		someChannel:
			...
		someOtherChannel:
			...
	contributte:
		manager: false # if true, enables logger manager (see contributte docs)
		holder: false # if true, enables logger holder (see contributte docs)
	monolog: # can be used to configure contributte extension directly, if used, previous options are ignored
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

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

Recently: every ~28 days

Total

8

Last Release

536d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17852436?v=4)[Apploud](/maintainers/apploud)[@apploud](https://github.com/apploud)

---

Top Contributors

[![jankonas](https://avatars.githubusercontent.com/u/7345659?v=4)](https://github.com/jankonas "jankonas (14 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[laravel/nightwatch

The official Laravel Nightwatch package.

3526.1M13](/packages/laravel-nightwatch)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2322.9M248](/packages/open-telemetry-sdk)

PHPackages © 2026

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