PHPackages                             bugsmonitor/bugsmonitor-php - 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. bugsmonitor/bugsmonitor-php

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

bugsmonitor/bugsmonitor-php
===========================

Bugsmonitor error notifier for PHP

1.1.2(9y ago)07MITPHPPHP &gt;=5.3

Since Apr 24Pushed 9y agoCompare

[ Source](https://github.com/bugsmonitor/bugsmonitor-php)[ Packagist](https://packagist.org/packages/bugsmonitor/bugsmonitor-php)[ Docs](https://github.com/bugsmonitor/bugsmonitor-php)[ RSS](/packages/bugsmonitor-bugsmonitor-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (6)Used By (0)

BugSender PHP library
=====================

[](#bugsender-php-library)

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

[](#installation)

### Composer (recommended)

[](#composer-recommended)

```
composer require bugsmonitor/bugsmonitor-php
```

### Manually

[](#manually)

1. Download [package](https://github.com/bugsmonitor/bugsmonitor-php) from Github or clone repository

```
git clone git@github.com:bugsmonitor/bugsmonitor-php.git
```

2. Add Autoload.php file.

```
require __DIR__ . '/PATH/TO/BUGSMONITOR/LIBRARY/bugsmonitor-php/src/Autoload.php';
```

Usage
-----

[](#usage)

### Set error handlers

[](#set-error-handlers)

```
$bugsMonitor = \Bugsmonitor\Bugsmonitor::getInstance();
$bugsMonitor->init([
    'projectKey' => 'YOUR_PROJECT_KEY',
    'apiKey' => 'YOUR_API_KEY',
]);
$bugsMonitor->setHandlers();
```

Set user
--------

[](#set-user)

Sometimes you may need add user to bug report, but usually

```
$bugSender = \Bugsender\Bugsender::getInstance();

# set authorized user
$bugSender->setUser([
    'id' => 123,
    'name' => 'Joe Doe',
    'email' => 'joe.doe@example.com',
]);
```

Prevent from send sensitive data
--------------------------------

[](#prevent-from-send-sensitive-data)

```
// default not send keys
'pass',
'password',
'confirm_password',
'password_confirm',
'password_confirmation',

// you can overwrite this with
$bugsMonitor->setStopKeys(Array);

// or add other keys
$bugsMonitor->addStopKeys(Array|String);
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% 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 ~5 days

Total

5

Last Release

3336d ago

Major Versions

0.7.4 → 1.1.02017-05-13

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25555040?v=4)[Grzegorz Gąsak](/maintainers/bugsmonitor)[@bugsmonitor](https://github.com/bugsmonitor)

---

Top Contributors

[![bugsmonitor](https://avatars.githubusercontent.com/u/25555040?v=4)](https://github.com/bugsmonitor "bugsmonitor (10 commits)")[![vertoo](https://avatars.githubusercontent.com/u/793245?v=4)](https://github.com/vertoo "vertoo (1 commits)")

---

Tags

loggingexceptionerrorbugsbugsmonitor

### Embed Badge

![Health badge](/badges/bugsmonitor-bugsmonitor-php/health.svg)

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

###  Alternatives

[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1861.6M3](/packages/justbetter-magento2-sentry)[rollbar/rollbar-laravel

Rollbar error monitoring integration for Laravel projects

14110.9M10](/packages/rollbar-rollbar-laravel)[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3511.6M24](/packages/analog-analog)[phptek/sentry

Sentry.io integration for SilverStripe. Binds Sentry.io to SilverStripe's error &amp; exception handling subsystem.

16210.6k4](/packages/phptek-sentry)[facile-it/sentry-module

This module allows integration of Sentry Client into laminas and mezzio

21400.3k](/packages/facile-it-sentry-module)[e2ex/e2ex

Converts PHP Errors to Exceptions and (optionally) logs PHP Errors, Notices and Warnings with a PSR-3 compatible logger

101.5k](/packages/e2ex-e2ex)

PHPackages © 2026

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