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)115MITPHP

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

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

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

1899d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c27c2597f276b5d1f0e189bdb1caa91239041657f24985b3135f285d1e295b3?d=identicon)[blueant-allan](/maintainers/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.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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