PHPackages                             wp\_lagoon\_logs/wp\_lagoon\_logs - 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. wp\_lagoon\_logs/wp\_lagoon\_logs

Abandoned → [salsadigitalauorg/wp\_lagoon\_logs](/?search=salsadigitalauorg%2Fwp_lagoon_logs)Wordpress-muplugin

wp\_lagoon\_logs/wp\_lagoon\_logs
=================================

Lagoon logs Wordpress plugin.

0.6(1y ago)01.6k[1 issues](https://github.com/salsadigitalauorg/wp_lagoon_logs/issues)GPL-2.0+PHPPHP &gt;=8.2

Since Jan 25Pushed 1y ago7 watchersCompare

[ Source](https://github.com/salsadigitalauorg/wp_lagoon_logs)[ Packagist](https://packagist.org/packages/wp_lagoon_logs/wp_lagoon_logs)[ RSS](/packages/wp-lagoon-logs-wp-lagoon-logs/feed)WikiDiscussions master Synced 2d ago

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

Lagoon Logs
===========

[](#lagoon-logs)

A WordPress plugin providing a zero-configuration logging system for WordPress sites running on the Amazee.io Lagoon platform. This plugin integrates with the [Wonolog](https://github.com/inpsyde/Wonolog) package to send WordPress logs directly to Lagoon's logging infrastructure.

Features
--------

[](#features)

- Zero-configuration setup for Amazee.io Lagoon projects
- Automatically sends logs to Logstash in Lagoon environments
- Configurable logging settings through WordPress admin interface
- Falls back to standard WordPress logging in local environments
- Supports custom log hosts, ports, and identifiers

Requirements
------------

[](#requirements)

- PHP 7.4 or higher
- WordPress 5.0 or higher
- Running on Amazee.io Lagoon platform

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

[](#installation)

### As a Must-Use Plugin (Recommended)

[](#as-a-must-use-plugin-recommended)

1. Download or clone this repository to your WordPress site's `wp-content/mu-plugins/` directory:

    ```
    git clone https://github.com/salsadigitalauorg/wp_lagoon_logs.git wp-content/mu-plugins/wp_lagoon_logs

    ```
2. Create or edit `wp-content/mu-plugins/load.php` file and add:

    ```
    if (file_exists(WPMU_PLUGIN_DIR.'/wp_lagoon_logs/wp_lagoon_logs.php')) {
      require WPMU_PLUGIN_DIR.'/wp_lagoon_logs/wp_lagoon_logs.php';
    }
    ```

### Using Composer

[](#using-composer)

1. Add the repository to your project's `composer.json`:

    ```
    composer require salsadigitalauorg/wp_lagoon_logs
    ```
2. If using as a must-use plugin, make sure to configure the loading as described above.

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

[](#configuration)

Lagoon Logs is designed to work with minimal configuration for Amazee.IO Lagoon projects.

### Default Configuration

[](#default-configuration)

By default, the plugin will:

- Connect to Logstash at "application-logs.lagoon.svc:5140"
- Identify logs with the prefix "wordpress"
- Only send logs in non-local Lagoon environments

### Admin Configuration

[](#admin-configuration)

The plugin adds a settings page in the WordPress admin under "Settings &gt; Lagoon Logs" where you can configure:

- Log host
- Log port
- Log identifier

How It Works
------------

[](#how-it-works)

- In Lagoon environments (when LAGOON\_ENVIRONMENT\_TYPE is set and not 'local'), logs are sent to the configured Logstash instance
- In local environments, it falls back to standard Wonolog/WordPress logging
- Uses socket connections to send logs to Logstash in JSON format

License
-------

[](#license)

This plugin is licensed under [GPL-2.0+](LICENSE).

The plugin is based on [Wonolog package](https://github.com/inpsyde/Wonolog) which uses the [MIT license](https://github.com/inpsyde/Wonolog/blob/master/LICENSE).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance47

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 82.4% 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 ~384 days

Total

5

Last Release

391d ago

PHP version history (3 changes)0.1PHP &gt;=5.4.0

0.4PHP &gt;=7.4.0

0.6PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a320969efb03e56f96b4c05e9eb5c574decf76deb9b34c74983cd9675104529?d=identicon)[salsadigital](/maintainers/salsadigital)

---

Top Contributors

[![ivangrynenko](https://avatars.githubusercontent.com/u/2966198?v=4)](https://github.com/ivangrynenko "ivangrynenko (28 commits)")[![govindmaloo](https://avatars.githubusercontent.com/u/4437018?v=4)](https://github.com/govindmaloo "govindmaloo (5 commits)")[![salsadigitalau](https://avatars.githubusercontent.com/u/13357657?v=4)](https://github.com/salsadigitalau "salsadigitalau (1 commits)")

---

Tags

wordpresslagoon

### Embed Badge

![Health badge](/badges/wp-lagoon-logs-wp-lagoon-logs/health.svg)

```
[![Health](https://phpackages.com/badges/wp-lagoon-logs-wp-lagoon-logs/health.svg)](https://phpackages.com/packages/wp-lagoon-logs-wp-lagoon-logs)
```

###  Alternatives

[roots/wordpress

WordPress is open source software you can use to create a beautiful website, blog, or app.

19116.9M258](/packages/roots-wordpress)[aristath/kirki

Extending the WordPress customizer

1.3k73.0k4](/packages/aristath-kirki)[wpreadme2markdown/wpreadme2markdown

Convert WordPress Plugin readme.txt to Markdown

9564.6k4](/packages/wpreadme2markdown-wpreadme2markdown)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1810.1k4](/packages/wpstarter-framework)

PHPackages © 2026

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