PHPackages                             yarkan/log-debugger - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. yarkan/log-debugger

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

yarkan/log-debugger
===================

A single local debug

v0.1.7(2y ago)01.2k↓50%GNU V3PHPPHP ^7.4||^8.0

Since Dec 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yarkan/log-debugger)[ Packagist](https://packagist.org/packages/yarkan/log-debugger)[ Docs](https://github.com/yarkan/ldg)[ RSS](/packages/yarkan-log-debugger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (9)Used By (0)

Yarkan / ldg
============

[](#yarkan--ldg)

### 1. Configuration:

[](#1-configuration)

- *Environment:* Define the parameters
    - *Name:* name of file
    - *Route:* route of write the file
    - *Route Level:* level of directories to need to find a project dir

```
LDG_NAME=Waring
LDG_ROUTE=/var/log
LDG_ROUTE_LEVEL=5

```

### 2. Usage

[](#2-usage)

- *Line*: Single line, values: String|Numeric

```
LDG\Write::local()->line('Test', 12);

```

- *Json*: Convert to json structure, values: Object|Array

```
LDG\Write::local()->json([12, 'Test'], new Test());

```

- *Implement*: Show class detailed, values: Object

```
LDG\Write::local()->impl(new Test());

```

- *Error*: Show error message, values: \\Throwable

```
LDG\Write::local()->error($exception);

```

- *Exception*: Show exception trace, values: \\Throwable

```
LDG\Write::local()->exception($exception);

```

- *Print*: Show any structure more beautifully, values: String|Numeric|Array|Object

```
LDG\Write::local()->print('Test', 123, [123, 'Test'], new Test());

```

- *Dump*: Show any structure more detailed, values: String|Numeric|Array|Object

```
LDG\Write::local()->dump('Test', 123, [123, 'Test'], new Test());

```

### 3. Customized

[](#3-customized)

- *Name*: customize a new name for the file

```
LDG\Write::local()->name('New name')->line('Test');

```

- *Memory*: expand memory to use

```
LDG\Write::local()->memory('128M')->line('Test');

```

- *Trace*: add back trace

```
LDG\Write::local()->trace();
LDG\Write::local()->showTrace()->line('Test');

```

- *Clear*: clear all file in the directory

```
LDG\Write::local()->clear()->line('Test');

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% 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 ~173 days

Recently: every ~287 days

Total

8

Last Release

774d ago

PHP version history (2 changes)0.1PHP ^7.4

0.1.6PHP ^7.4||^8.0

### Community

Maintainers

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

---

Top Contributors

[![lariosyarkan](https://avatars.githubusercontent.com/u/61513471?v=4)](https://github.com/lariosyarkan "lariosyarkan (7 commits)")[![wilmeryarkan](https://avatars.githubusercontent.com/u/71442759?v=4)](https://github.com/wilmeryarkan "wilmeryarkan (5 commits)")[![henrycolonia](https://avatars.githubusercontent.com/u/53269165?v=4)](https://github.com/henrycolonia "henrycolonia (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yarkan-log-debugger/health.svg)

```
[![Health](https://phpackages.com/badges/yarkan-log-debugger/health.svg)](https://phpackages.com/packages/yarkan-log-debugger)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)[beyondcode/helo-laravel

HELO Laravel debug helper

90360.1k](/packages/beyondcode-helo-laravel)

PHPackages © 2026

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