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(8mo ago)03MITPHPPHP &gt;=8.1

Since Oct 22Pushed 8mo agoCompare

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

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

30

—

LowBetter than 62% of packages

Maintenance60

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

254d ago

### Community

Maintainers

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

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M165](/packages/spatie-laravel-health)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[larabug/larabug

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

299582.7k1](/packages/larabug-larabug)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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