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

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

debugmate/php
=============

A Freemium package to help you tracking your project errors

1.0.0(1y ago)05[1 PRs](https://github.com/DebugMate/php/pulls)MITPHPPHP ^7.3|^7.4|^8.0|^8.1

Since Dec 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/DebugMate/php)[ Packagist](https://packagist.org/packages/debugmate/php)[ RSS](/packages/debugmate-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (12)Versions (4)Used By (0)

PHP Debugmate
=============

[](#php-debugmate)

Debugmate is a beautiful error tracking package that will help your software team to track and fix errors.

Composer Installation
---------------------

[](#composer-installation)

This package is compatible with **PHP 7.3 or greater**.

#### Add these lines to the *composer.json* file in your project root:

[](#add-these-lines-to-the-composerjson-file-in-your-project-root)

```
"repositories": [
   {
      "type": "composer",
      "url": "https://devsquad.repo.repman.io"
   }
]
```

#### Create the *auth.json* file with this content in your project root:

[](#create-the-authjson-file-with-this-content-in-your-project-root)

```
{
    "http-basic": {
        "devsquad.repo.repman.io": {
            "username": "1fc2d46ccf0406664c6427da36c26c3bebadd220b86ff7aed078def2ca03ebd6",
            "password": "1fc2d46ccf0406664c6427da36c26c3bebadd220b86ff7aed078def2ca03ebd6"
        }
    }
}
```

#### Now you can install the package:

[](#now-you-can-install-the-package)

```
composer require debugmate/php
```

Configuration
-------------

[](#configuration)

So that the debugmate can send the errors to the application you need to define this environment configuration in your .env file

```
DEBUGMATE_DOMAIN=http://fake-debugmate.app/
DEBUGMATE_TOKEN=project-token
```

Testing
-------

[](#testing)

You're able to send a fake error to the Debugmate as a test by running this command:

```
./vendor/bin/debugmate test
```

Set logged user
---------------

[](#set-logged-user)

Using the function below when reporting an error, the debugmate will send the data of the logged in user according to what was returned by Closure.

```
\Debugmate\Debugmate::setUser(function() {
    return ['name'=>'name', 'email'=>'user@email.com'...];
});
```

Reporting Unhandled Exceptions
------------------------------

[](#reporting-unhandled-exceptions)

To ensure all unhandled errors and exceptions are automatically reported to Debugmate, register our exception handler with the following code:

```
\Debugmate\Exceptions\Handler::register()
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance41

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

518d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/737d15503c2277f2e6f023c1ddb827b2524e7e23dde1f97310cf3bc4a2aba02e?d=identicon)[teamdevsquad](/maintainers/teamdevsquad)

---

Top Contributors

[![devsquad-rodrigo](https://avatars.githubusercontent.com/u/147542204?v=4)](https://github.com/devsquad-rodrigo "devsquad-rodrigo (8 commits)")[![devsquad-luis-silva](https://avatars.githubusercontent.com/u/180315495?v=4)](https://github.com/devsquad-luis-silva "devsquad-luis-silva (6 commits)")[![teamdevsquad](https://avatars.githubusercontent.com/u/33907040?v=4)](https://github.com/teamdevsquad "teamdevsquad (1 commits)")[![uisdevsquad](https://avatars.githubusercontent.com/u/180432487?v=4)](https://github.com/uisdevsquad "uisdevsquad (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[laravel/vapor-cli

The Laravel Vapor CLI

31310.7M8](/packages/laravel-vapor-cli)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)

PHPackages © 2026

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