PHPackages                             axel-kummer/logbook-php - 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. axel-kummer/logbook-php

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

axel-kummer/logbook-php
=======================

PSR compatible logger to send logs from php applications to the logbook server and client.

v0.2.1(6y ago)02011GPL-3.0-or-laterPHPCI failing

Since Nov 25Pushed 6y ago3 watchersCompare

[ Source](https://github.com/axel-kummer/logbook-php)[ Packagist](https://packagist.org/packages/axel-kummer/logbook-php)[ RSS](/packages/axel-kummer-logbook-php/feed)WikiDiscussions master Synced 2mo ago

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

logbook-php
===========

[](#logbook-php)

This package provides a PSR compatible Logger to send logs to the logbook server and client, . The Logger provides the logger itself and some Adapter to send the logs in several ways.

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

[](#installation)

You can install the php component of logbook via git or composer. For both you need composer to get the dependencies installed which are necessary.

### From github

[](#from-github)

```
    ## Cloning git repo
    git clone https://github.com/axel-kummer/logbook-php.git /path/to/checkout
    ## cd in to path
    cd /path/to/checkout
    ## Install dependencies
    composer install --no-dev

```

### From pakageist

[](#from-pakageist)

```
    composer require axel-kummer/logbook-php

```

Usage
-----

[](#usage)

Basic usage.

First you have to setup the request instance which is used to send the logs.

```
//Make a request instance
$request = \AxelKummer\LogBook\LoggerUtility::setupRequest(
    \AxelKummer\LogBook\Request\HttpRequest::class,
    'MyApplication',
    'myhost'
    8080
);

```

You can also add a unique request identifier for all logs within a request.

```
$request->setRequestId(\AxelKummer\LogBook\LoggerUtility::getRequestId('Prefix))

```

If it's done you can simply create logger which will have injected the request object.

```
//get a logger with injected request instance
$logger = \AxelKummer\LogBook\LoggerUtility::getLogger('MyLogger');

//Use the logger to send messages to the logbook server
$logger->info('My info mesage');

```

You can implement and use your own request class. Your Class have to extend `\AxelKummer\LogBook\Request\AbstractRequest`and implements the methods `sendLog` and `getUrl`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

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

Recently: every ~219 days

Total

7

Last Release

2203d 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 (31 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/axel-kummer-logbook-php/health.svg)

```
[![Health](https://phpackages.com/badges/axel-kummer-logbook-php/health.svg)](https://phpackages.com/packages/axel-kummer-logbook-php)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[authbucket/oauth2-php

The standard compliant OAuth2.0 library based on the Symfony Components

82107.6k4](/packages/authbucket-oauth2-php)[markrogoyski/simplelog-php

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

2818.1k4](/packages/markrogoyski-simplelog-php)

PHPackages © 2026

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