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 today

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 52% of packages

Maintenance45

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

441d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/55599624?v=4)[Synaptic4U](/maintainers/Synaptic4U)[@synaptic4u](https://github.com/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

145904.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.

1341.0M1](/packages/danielme85-laravel-log-to-db)[wnx/laravel-backup-restore

A package to restore database backups made with spatie/laravel-backup.

213420.1k2](/packages/wnx-laravel-backup-restore)[bradmkjr/monolog-wordpress

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

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

PHPackages © 2026

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