PHPackages                             sfili81/error-report-widget - 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. sfili81/error-report-widget

ActiveYii2-widget[Logging &amp; Monitoring](/categories/logging)

sfili81/error-report-widget
===========================

Error Report Widget - send email when error on browser console

V1.02(1y ago)0195↓50%BSD-2-ClausePHP

Since Apr 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sfili81/ErrorReportWidget)[ Packagist](https://packagist.org/packages/sfili81/error-report-widget)[ RSS](/packages/sfili81-error-report-widget/feed)WikiDiscussions main Synced 1mo ago

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

Javascript error widget report
==============================

[](#javascript-error-widget-report)

This widget detects javascript errors in the browser console and sends them via email

The preferred way to install this extension is through [composer](https://getcomposer.org/download/). Either run

```
composer require sfili81/error-report-widget

```

or add

```
"sfili81/error-report-widget": "*"

```

to your `composer.json`

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by:

```
use sfili81\ErrorReportWidget\ErrorReportWidget;

```

and then insert the code before all other javascript files

```

```

### Email Address Setting

[](#email-address-setting)

To set an email address to send the error report to, set a pair like this in the params.php file:

```
'supportEmail' => 'yourEmailAddress@mail.com'
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance47

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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 ~0 days

Total

2

Last Release

402d ago

### Community

Maintainers

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

---

Top Contributors

[![sfili81](https://avatars.githubusercontent.com/u/7912591?v=4)](https://github.com/sfili81 "sfili81 (7 commits)")

---

Tags

error-handleryii2widget

### Embed Badge

![Health badge](/badges/sfili81-error-report-widget/health.svg)

```
[![Health](https://phpackages.com/badges/sfili81-error-report-widget/health.svg)](https://phpackages.com/packages/sfili81-error-report-widget)
```

###  Alternatives

[bedezign/yii2-audit

Yii2 Audit records and displays web/cli requests, database changes, php/js errors and associated data.

201657.4k4](/packages/bedezign-yii2-audit)[mito/yii2-sentry

Yii 2 extension for Sentry

92377.7k](/packages/mito-yii2-sentry)

PHPackages © 2026

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