New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

aledaas/loggerdb

DB-based process logging and email alerting for Laravel apps.
1,003

Larablocks Analysis

aledaas/loggerdb works with Laravel 10 and 11 (latest release v0.1.4, Aug 15, 2025), all past end of life (the last on Mar 12, 2026): no more fixes, even for security.

Recommendation checks

Use with care

Use with care: meets 0 of 4 checks.

  • Supports only Laravel 10 and 11, past end of life since Mar 12, 2026
  • No release in the last 12 months (last: Aug 15, 2025)
  • 83 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Quiet
  • Last stable release: Aug 15, 2025.
  • No releases in the last 12 months.
  • First released: Aug 14, 2025.
  • Monthly downloads: 83.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require aledaas/loggerdb
Latest Version:v0.1.4
PHP:^8.1
Laravel:10 · 11
License:MIT
Last Updated:Aug 15, 2025
Links: GitHub  ·  Packagist
Maintainer: aledaas

LoggerDB for Laravel

DB-based process logging + email alerts.

Install (local path in monorepo)

In your app's root composer.json, add:

{
  "repositories": [
    { "type": "path", "url": "packages/loggerdb" }
  ]
}

Installation via Packagist

You can install LoggerDB using Composer by running:

composer require aledaas/loggerdb

LoggerDB supports Laravel versions 8.x, 9.x, and 10.x.

Configuration

To publish the configuration file, run:

php artisan vendor:publish --tag=loggerdb-config

This will create a config/loggerdb.php file where you can customize the package settings:

  • enabled (bool): Enable or disable logging and email alerts.
  • levels (array): The log levels to record and send alerts for (e.g. ['error', 'warning', 'critical']).
  • emails (array): Email addresses to receive alert notifications.
  • dedup_seconds (int): Number of seconds to deduplicate alerts to avoid spamming.

Database Migration

Run the package migrations to create the necessary tables:

php artisan migrate

Or, if you prefer to run only the package migrations:

php artisan migrate --path=vendor/aledaas/loggerdb/database/migrations

Usage

You can log processes using the ProcessLog model. Here is an example:

use Aledaas\LoggerDB\Models\ProcessLog;

ProcessLog::create([
    'process' => 'OrderProcessing', // The name of the process
    'step' => 'ValidateOrder',      // The current step in the process
    'level' => 'error',             // Log level: e.g. info, warning, error
    'outcome' => 'failed',          // Outcome of the step: e.g. success, failed
    'message' => 'Order ID 1234 failed validation.', // Descriptive message
    'context' => ['order_id' => 1234, 'user_id' => 5678], // Additional context data
]);

Fields explained:

  • process: Identifier for the process being logged.
  • step: Specific step or phase within the process.
  • level: Severity level of the log entry.
  • outcome: Result status of the step.
  • message: Human-readable description.
  • context: JSON-serializable array with extra metadata.

Email Alerts

If logging is enabled and the log level or outcome matches the configured criteria, LoggerDB will send alert emails to the addresses specified in the configuration. Alerts are deduplicated based on the dedup_seconds setting to prevent email spamming.

License

LoggerDB is open source software licensed under the MIT License.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703
laravel/framework

The Laravel Framework.

640,572,096 35,338
laravel/tinker

Powerful REPL for the Laravel framework.

546,909,908 7,440
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

465,816,364 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

431,187,642 4,660

Version History

Version Released PHP Laravel License
v0.1.4 ^8.1 ^10.0|^11.0 MIT
v0.1.3 ^8.1 ^10.0|^11.0 MIT
v0.1.2 ^8.1 ^10.0|^11.0 MIT
v0.1.1 ^8.1 ^10.0|^11.0 MIT
v0.1.0 ^8.1 ^10.0|^11.0 MIT