PHPackages                             webfan3/php-error-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. webfan3/php-error-logging

ActiveFrdl-extension[Logging &amp; Monitoring](/categories/logging)

webfan3/php-error-logging
=========================

ErrorHandling,logging,whoops-implemntation

v0.2.6(5y ago)01781MITPHPPHP &gt;=5.3.6

Since Feb 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/webfan3/php-error-logging)[ Packagist](https://packagist.org/packages/webfan3/php-error-logging)[ RSS](/packages/webfan3-php-error-logging/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (10)Dependencies (7)Versions (18)Used By (1)

php-error-logging
=================

[](#php-error-logging)

ErrorHandling

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

[](#installation)

```
$ composer install webfan3/php-error-logging

```

Usage
=====

[](#usage)

You can use the dependent libraries (standalone) or configure the [`frdlweb Container`](https://github.com/webfan3/php-error-logging/blob/master/config/logging.php)

#### deprecated Usage

[](#deprecated-usage)

\\Webfan\\Support\\PhpLogs old class

```
new \Webfan\Support\PhpLogs([
		         'logs.debug' => false,
		         'logs.dir' => ((class_exists(\webfan\hps\patch\Fs::class))
								? \webfan\hps\patch\Fs::getRootDir()
								: getcwd())
		                       .\DIRECTORY_SEPARATOR.'logs'.\DIRECTORY_SEPARATOR.'frdl'.\DIRECTORY_SEPARATOR,
		         'logs.prune_size.trigger' => 999999,
		         'logs.prune_size.size' =>    32000,
	             'logs.autoprune' =>    true,
		         'logs.file.errors' => 'php_error_log',
		         'logs.file.memory' => 'php_memory_log',
		         'logs.error_level' => 1,
		         'logs.log_level' => 0,
		         'logs.error_reporting' => \E_ALL,
		         'logs.display_errors' => 0,
], true, function($e, $message, $level){
           $status = 500;
           $headers = ['X-Frdl-Response' => 'ServerErrorException'];
           $body = ''.$e->getMessage().''.$message.'';
           $protocol = '2.0';
        //   $response = new \GuzzleHttp\Psr7\Response($status, $headers, $body, $protocol);
	    //   if(function_exists('\Http\Response\send'))\Http\Response\send($response);
	       die($body);
});
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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

Every ~11 days

Recently: every ~2 days

Total

16

Last Release

2120d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/831c50002c08bb751b698844c98cd6b36897678268b47f1f872a30f4e192ac22?d=identicon)[webfan](/maintainers/webfan)

---

Top Contributors

[![wehowski](https://avatars.githubusercontent.com/u/2658030?v=4)](https://github.com/wehowski "wehowski (55 commits)")

### Embed Badge

![Health badge](/badges/webfan3-php-error-logging/health.svg)

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

###  Alternatives

[sentry/sentry

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

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

Monitors errors and exceptions and reports them to Rollbar

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

The Illuminate Log package.

6224.3M518](/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)
