PHPackages                             synaptic4u/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. [Database &amp; ORM](/categories/database)
4. /
5. synaptic4u/logging

ActiveLibrary[Database &amp; ORM](/categories/database)

synaptic4u/logging
==================

Custom logging class able to log to files and database

1.4.0(1y ago)0481MITPHP

Since Apr 9Pushed 1y agoCompare

[ Source](https://github.com/synaptic4u/Logging)[ Packagist](https://packagist.org/packages/synaptic4u/logging)[ Docs](https://github.com/synaptic4u/)[ Patreon](https://www.patreon.com/synaptic4u)[ RSS](/packages/synaptic4u-logging/feed)WikiDiscussions master Synced 1mo ago

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

Logging
=======

[](#logging)

Logging in a simplified way to a file or DB.

Table of Contents
-----------------

[](#table-of-contents)

- [Introduction](#introduction)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Configuration](#configuration)
- [Contributing](#contributing)
- [License](#license)

Introduction
------------

[](#introduction)

This project provides a simplified logging mechanism that allows you to log messages to a file or a database. It is designed to be easy to integrate into your existing applications.

Features
--------

[](#features)

- Log messages to a file
- Log messages to a database
- Configurable logging levels (e.g., DEBUG, INFO, WARN, ERROR)
- Easy to set up and use

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

[](#installation)

To install the logging library, you can use composer: The followig are cofiguratio files supported. Please add them to project directory.

vendor/synaptic4u/logging/tests/.env

vendor/synaptic4u/logging/tests/config.json

Rename configNested.json to config.json for testing

vendor/synaptic4u/logging/tests/configNested.json

```
composer install syaptic4u/logging

composer dump-autoload -o

composer exec install
```

Then follow the prompts.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance48

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity44

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 ~1 days

Total

10

Last Release

395d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b574bb68cbcac8b1749b8cbedc624a8273dababdc4a34f513096cce6f8f1ef0f?d=identicon)[Synaptic4U](/maintainers/Synaptic4U)

---

Tags

loggingdatabasemysql

### Embed Badge

![Health badge](/badges/synaptic4u-logging/health.svg)

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

###  Alternatives

[wazaari/monolog-mysql

A handler for Monolog that sends messages to MySQL

140884.1k6](/packages/wazaari-monolog-mysql)[danielme85/laravel-log-to-db

Custom Laravel Log channel handler that can store log events to SQL or MongoDB databases. Uses Laravel native logging functionality.

135934.5k1](/packages/danielme85-laravel-log-to-db)[rah/danpu

Zero-dependency MySQL dump library for easily exporting and importing databases

64401.8k10](/packages/rah-danpu)[bradmkjr/monolog-wordpress

A handler for Monolog that sends messages to MySQL via WordPress Functions

2817.1k](/packages/bradmkjr-monolog-wordpress)

PHPackages © 2026

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