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

ActiveCakephp-plugin

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

A CakePHP custom log plugin for Cloudstaff

1.0(5y ago)0378MITPHP

Since Feb 11Pushed 5y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

ElasticLogger is a custom logger plugin for Cloudstaff
======================================================

[](#elasticlogger-is-a-custom-logger-plugin-for-cloudstaff)

A CakePHP plugin for creating custom logs. Using CakePHP version 3.x

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

[](#installation)

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

The recommended way to install composer packages is:

```
composer require blueant-allan/ElasticLogger
```

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

[](#configuration)

1. After installing the package in your project. You need to load the plugin, in your src/Application.php inside your bootstrap method add the following code to load the plugin.

```
public function bootstrap()
{
    // you loaded plugins here

    $this->addPlugin('ElasticLogger');
}
```

2. To start using the plugin, load the component in your controller initialize() method as such:

```
public function initialize(): void
{
    parent::initialize();

    // more of your controller initialize code here

    $this->loadComponent('ElasticLogger.Logcentral');
}
```

Usage
-----

[](#usage)

The component 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:

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

Create an activity debug log:

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

Create an activity Error log:

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

Create an activity Notice log:

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

Create an activity Warning log:

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

Pass an array to your logs. Example below:

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

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

1914d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c27c2597f276b5d1f0e189bdb1caa91239041657f24985b3135f285d1e295b3?d=identicon)[blueant-allan](/maintainers/blueant-allan)

---

Top Contributors

[![blueant-allan](https://avatars.githubusercontent.com/u/2080434?v=4)](https://github.com/blueant-allan "blueant-allan (4 commits)")

### Embed Badge

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

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

###  Alternatives

[friendsofcake/cakepdf

CakePHP plugin for creating and/or rendering Pdfs, several Pdf engines supported.

3752.1M3](/packages/friendsofcake-cakepdf)[cakephp/bake

Bake plugin for CakePHP

11211.2M157](/packages/cakephp-bake)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

338920.1k32](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308850.3k14](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1862.1M26](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

129228.6k10](/packages/dereuromark-cakephp-tinyauth)

PHPackages © 2026

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