PHPackages                             travelnoord/laravel-ecs-logging - 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. travelnoord/laravel-ecs-logging

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

travelnoord/laravel-ecs-logging
===============================

A Laravel package for performing logging in an Elastic-compatible format.

0.1.0(1y ago)01proprietaryPHPPHP ^8.3

Since Mar 17Pushed 1y ago2 watchersCompare

[ Source](https://github.com/travelnoord/laravel-ecs-logging)[ Packagist](https://packagist.org/packages/travelnoord/laravel-ecs-logging)[ RSS](/packages/travelnoord-laravel-ecs-logging/feed)WikiDiscussions main Synced 1mo ago

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

Travelnoord Ecs Logging
=======================

[](#travelnoord-ecs-logging)

This package implements Elastic ECS logging.

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

[](#installation)

To install this package, define the repository in your composer.json file, for example:

```
composer require travelnoord/laravel-ecs-logging

```

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

[](#configuration)

TBD

### Only filter out the log message

[](#only-filter-out-the-log-message)

TBD

Usage
-----

[](#usage)

### Filter Secrets

[](#filter-secrets)

To filter out secrets or other private information call the log filter:

```
\Ecs::secret('my-secret-password');
```

or

```
\Travelnoord\Logging\Facades\Ecs::secret('my-secret-password');
```

You can also pass an array with credentials:

```
\Ecs::filter([
    'api-key-1',
    'api-key-2',
])
```

### Log Context

[](#log-context)

TBD

Development
-----------

[](#development)

Several checkers are available by default if this package is installed with dev-dependencies enabled.

### Composer Checks

[](#composer-checks)

To run all the checks:

```
composer ci
```

To run all static checks:

```
composer lint
```

To run only tests:

```
composer test
```

### PHPUnit

[](#phpunit)

You can run PHPUnit by simply running `vendor/bin/phpunit` in the directory the package is installed in. It will automatically detect the phpunit configuration file for the project, and detect which directory it should run in.

### PHPStan

[](#phpstan)

You can run PHPStan by simply running `vendor/bin/phpstan` in the directory the package is installed in. It will automatically detect the phpstan configuration file for the project, and detect which directory it should run in.

### PHPCS

[](#phpcs)

You may run PHPCS by running `vendor/bin/phpcs src/` in the directory the package is installed in. It will use the phpcs.xml file defined in the project root directory to determine which coding standards to use.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance46

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

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

422d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8612ca0d5e70d76a6609e665f2543886d307128c58b9e31ce36d214fbc203b17?d=identicon)[travelnoord](/maintainers/travelnoord)

---

Top Contributors

[![marcvdm](https://avatars.githubusercontent.com/u/1028066?v=4)](https://github.com/marcvdm "marcvdm (6 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/travelnoord-laravel-ecs-logging/health.svg)

```
[![Health](https://phpackages.com/badges/travelnoord-laravel-ecs-logging/health.svg)](https://phpackages.com/packages/travelnoord-laravel-ecs-logging)
```

###  Alternatives

[laravel/nightwatch

The official Laravel Nightwatch package.

3486.1M13](/packages/laravel-nightwatch)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2222.9M248](/packages/open-telemetry-sdk)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[open-telemetry/opentelemetry-auto-wordpress

OpenTelemetry auto-instrumentation for Wordpress

17166.0k](/packages/open-telemetry-opentelemetry-auto-wordpress)[oras/monolog-middleware

PSR-7 Monolog Middleware

2012.1k](/packages/oras-monolog-middleware)

PHPackages © 2026

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