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)02151GPL-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 yesterday

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

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

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

2254d 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

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M396](/packages/drupal-core-recommended)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)

PHPackages © 2026

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