PHPackages                             blueant-allan/lumen-elasticlogger - 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. blueant-allan/lumen-elasticlogger

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

blueant-allan/lumen-elasticlogger
=================================

A custom log package for Cloudstaff using Lumen microframework

1.0.3(5y ago)015MITPHP

Since Mar 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/blueant-allan/lumen-elasticlogger)[ Packagist](https://packagist.org/packages/blueant-allan/lumen-elasticlogger)[ RSS](/packages/blueant-allan-lumen-elasticlogger/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

ElasticLogger a Lumen custom logger package for Cloudstaff
==========================================================

[](#elasticlogger-a-lumen-custom-logger-package-for-cloudstaff)

A package for creating custom logs in Lumen microframework

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

[](#installation)

You can install this package into your Lumen application using [composer](https://getcomposer.org).

The recommended way to install composer packages is:

```
composer require blueant-allan/lumen-elasticlogger
```

Configuration
-------------

[](#configuration)

1. After installing the package in your project. You can now instantiate the class by including the library as such.

```
use blueantallan\Lumen\ElasticLogger\Logger\BaseLogger;

public function yourMethod()
{
    $log = new BaseLogger();
    $log->activityInfo('Event Type', 'Write my test log now.');
}
```

Usage
-----

[](#usage)

The library will expect the following parameters:

- EventType Can be use to describe the type of event being written to logs
- Message content message of your logs
- **(Optional)** this third parameter is optional. In case you need to pass a object or array, you may use this third parameter to add that object or array to your logs

Create an activity information log:

```
$log = new BaseLogger();
```

```
$log->activityInfo('EventType', 'your message');
```

Create an activity debug log:

```
$log->activityDebug('EventType', 'your message');
```

Create an activity Error log:

```
$log->activityError('EventType', 'your message');
```

Create an activity Notice log:

```
$log->activityNotice('EventType', 'your message');
```

Create an activity Warning log:

```
$log->activityWarning('EventType', 'your message');
```

Pass an array to your logs. Example below:

```
$data = [
    'id' => 42,
    'name' => 'Mark Tune',
    'roles' => ['Admin', 'Support']
];

$log->activityInfo('Login', 'User successfully logged in', $data);
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

Total

4

Last Release

1950d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2080434?v=4)[Allan Atim](/maintainers/blueant-allan)[@blueant-allan](https://github.com/blueant-allan)

### Embed Badge

![Health badge](/badges/blueant-allan-lumen-elasticlogger/health.svg)

```
[![Health](https://phpackages.com/badges/blueant-allan-lumen-elasticlogger/health.svg)](https://phpackages.com/packages/blueant-allan-lumen-elasticlogger)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M276](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M343](/packages/open-telemetry-sdk)

PHPackages © 2026

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