PHPackages                             toshkq93/custom-logger - 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. toshkq93/custom-logger

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

toshkq93/custom-logger
======================

Logger PSR-3

1.0.0(3y ago)07MITPHPPHP &gt;=5.4

Since Feb 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Toshkq93/custom-logger)[ Packagist](https://packagist.org/packages/toshkq93/custom-logger)[ RSS](/packages/toshkq93-custom-logger/feed)WikiDiscussions main Synced 1mo ago

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

Class Logger
============

[](#class-logger)

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

[](#installation)

Install the package via composer

```
composer require toshkq93/custom-logger
```

Setup and use
-------------

[](#setup-and-use)

```
$logger_file = Logger::factory(FileDriver::class, ['filePath' => 'data/default.log']);

$logger_db = Logger::factory(DatabaseDriver::class, [
    'dsn' => 'mysql:host=127.0.0.1;dbname=test;charset=utf8',
    'table' => 'qwerty',
    'username' => 'root',
    'password' => '',
]);

$logger_db->info('test');
$logger_file->info('text');
```

Security
--------

[](#security)

If you discover any security related issues, please email ****** instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

1188d ago

### Community

Maintainers

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

---

Top Contributors

[![Toshkq93](https://avatars.githubusercontent.com/u/43671868?v=4)](https://github.com/Toshkq93 "Toshkq93 (1 commits)")

### Embed Badge

![Health badge](/badges/toshkq93-custom-logger/health.svg)

```
[![Health](https://phpackages.com/badges/toshkq93-custom-logger/health.svg)](https://phpackages.com/packages/toshkq93-custom-logger)
```

###  Alternatives

[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k227.1M271](/packages/sentry-sentry)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M81](/packages/rollbar-rollbar)[illuminate/log

The Illuminate Log package.

6224.3M517](/packages/illuminate-log)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2222.9M248](/packages/open-telemetry-sdk)[open-telemetry/api

API for OpenTelemetry PHP.

1833.0M214](/packages/open-telemetry-api)[pagemachine/typo3-formlog

Form log for TYPO3

23225.3k6](/packages/pagemachine-typo3-formlog)

PHPackages © 2026

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