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 3w 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

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

2167d ago

### Community

Maintainers

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

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[sentry/sentry

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

1.9k247.1M330](/packages/sentry-sentry)[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[illuminate/log

The Illuminate Log package.

6225.3M622](/packages/illuminate-log)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.0M217](/packages/api-platform-metadata)

PHPackages © 2026

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