PHPackages                             setharo/setharo - 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. setharo/setharo

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

setharo/setharo
===============

Setharo Laravel client for sending errors and system messages to Setharo monitoring platform.

1.0.1(6mo ago)03MITPHPPHP &gt;=8.1

Since Oct 22Pushed 6mo agoCompare

[ Source](https://github.com/ssebetta/setharopackage)[ Packagist](https://packagist.org/packages/setharo/setharo)[ RSS](/packages/setharo-setharo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

### Setharo Laravel Client

[](#setharo-laravel-client)

Setharo is a Laravel client package for sending errors and system messages to the Setharo monitoring platform. It provides an easy way to integrate Setharo into your Laravel applications with **API** key authentication, custom logging, and helper/facade support.

📦 Installation

Require the package via Composer:

composer require setharo/setharo

Note: This package is stable (minimum-stability: dev with prefer-stable: true).

Publish configuration
---------------------

[](#publish-configuration)

The configuration will be automatically merged, but you can publish it manually if needed:

php artisan vendor:publish --provider=*Setharo\\SetharoServiceProvider* --tag=config

This will create config/setharo.php.

Set environment variables
-------------------------

[](#set-environment-variables)

In your .env file, set the Setharo **URL** and **API** key:

SETHARO\_URL= SETHARO\_API\_KEY=your\_api\_key\_here

⚡ Usage Using the Facade use Setharo\\Facades\\Setharo;

// Send an error Setharo::sendError('Database connection failed', 'critical', \[ 'file' =&gt; **FILE**, 'line' =&gt; **LINE**, \]);

// Send a system message Setharo::sendSystemMessage('New contact form submission', \[ 'name' =&gt; 'John Doe', 'email' =&gt; '', \]);

Using the helper // Send an error setharo()-&gt;sendError('Database connection failed');

// Send a system message setharo()-&gt;sendSystemMessage('User signed up', \['user\_id' =&gt; **123**\]);

📝 Logging Integration

You can log errors to Setharo using Laravel’s logging system. In config/logging.php:

'channels' =&gt; \[ 'setharo' =&gt; \[ 'driver' =&gt; 'custom', 'via' =&gt; Setharo\\Logging\\SetharoLogger::class, 'level' =&gt; 'error', \], \],

Usage in Laravel:

Log::channel('setharo')-&gt;error('Something went wrong', \[ 'user\_id' =&gt; auth()-&gt;id(), \]);

💻 Integration Examples **PHP** Client $setharo = new SetharoClient();

// Send an error $setharo-&gt;sendError('Database connection failed', 'critical', \[ 'file' =&gt; **FILE**, 'line' =&gt; **LINE**, \]);

// Send a system message $setharo-&gt;sendSystemMessage('New contact form submission', \[ 'name' =&gt; 'John Doe', 'email' =&gt; '', \]);

JavaScript Client const setharo = new SetharoClient();

// Send an error setharo.sendError('Database connection failed', 'error', { url: window.location.href });

// Send a system message setharo.sendSystemMessage('New contact form submission', { name: 'John Doe', email: '' });

🔑 **API** Key Management

View and regenerate **API** keys from the System Settings Modal in the Setharo Dashboard.

Regenerating the key invalidates the old key immediately — update your applications to avoid breaking integrations.

🛠️ Helper Methods setharo()-&gt;sendError($content, $severity = 'error', $metadata = \[\]); setharo()-&gt;sendSystemMessage($content, $metadata = \[\]);

📁 File Structure setharo/ ├── composer.json ├── **README**.md ├── config/ │ └── setharo.php ├── helpers.php ├── src/ │ ├── Setharo.php │ ├── Facades/Setharo.php │ ├── Logging/SetharoLogger.php │ └── SetharoServiceProvider.php └── tests/ └── ExampleTest.php

⚖️ License

**MIT** © Harold Peter Ssebetta

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance66

Regular maintenance activity

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Total

2

Last Release

208d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d3f1725bbee88f5e714361f1e92a53788ff440fb25ea50582b94d036e1a50cf?d=identicon)[ssebetta](/maintainers/ssebetta)

---

Top Contributors

[![ssebetta](https://avatars.githubusercontent.com/u/68326406?v=4)](https://github.com/ssebetta "ssebetta (3 commits)")

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[marvinlabs/laravel-discord-logger

Logging to a discord channel in Laravel

2081.1M2](/packages/marvinlabs-laravel-discord-logger)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299549.3k1](/packages/larabug-larabug)[kitloong/laravel-app-logger

Laravel log for your application

101.2M8](/packages/kitloong-laravel-app-logger)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)

PHPackages © 2026

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