PHPackages                             rivet/laravel-logging - 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. rivet/laravel-logging

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

rivet/laravel-logging
=====================

Laravel logging channel for Rivet

021PHP

Since Feb 16Pushed 3mo agoCompare

[ Source](https://github.com/ChandlerVS/rivet-laravel-logging)[ Packagist](https://packagist.org/packages/rivet/laravel-logging)[ RSS](/packages/rivet-laravel-logging/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Rivet Laravel Logging
=====================

[](#rivet-laravel-logging)

Laravel log channel driver for sending logs to Rivet ingest.

Quick Start
-----------

[](#quick-start)

1. Install the package:

```
composer require rivet/laravel-logging
```

2. Publish config:

```
php artisan vendor:publish --tag=rivet-logging-config
```

3. Add a Rivet channel in `config/logging.php`:

```
'channels' => [
    'rivet' => [
        'driver' => 'rivet',
        'level' => env('LOG_LEVEL', 'debug'),
    ],
],
```

4. Configure environment variables:

```
RIVET_BASE_URL=https://api.rivet.example.com
RIVET_INGEST_KEY=rk_.
RIVET_SERVICE=${APP_NAME}
RIVET_MODE=sync
```

Use `RIVET_MODE=queue` if you want queue-backed delivery.

Validate Installation
---------------------

[](#validate-installation)

Run the built-in diagnostic command:

```
php artisan rivet:logs:test
```

This command:

- emits one test log through the selected Laravel channel
- runs one direct Rivet ingest probe
- returns exit code `0` on success and `1` on failure

### Command Options

[](#command-options)

```
php artisan rivet:logs:test --channel=rivet
php artisan rivet:logs:test --sync
php artisan rivet:logs:test --verbose
```

- `--channel=` chooses the Laravel channel used for the emitted test log.
- `--sync` bypasses channel emission and runs direct transport diagnostics only.
- `--verbose` prints raw transport details (`attempts`, `accepted`, `sent`, `error_message`).

Troubleshooting
---------------

[](#troubleshooting)

FailureMeaningChecks`400`Rivet rejected payloadValidate request payload shape and package/API compatibility.`401`Ingest key rejectedVerify `RIVET_INGEST_KEY`, rotate key if needed, ensure no whitespace.`503`Rivet temporarily unavailableRetry later, inspect Rivet status, and keep retries enabled.Timeout / connection errorNetwork/TLS/proxy connectivity issueVerify `RIVET_BASE_URL`, DNS reachability, TLS certs, firewall, and proxy config.Notes
-----

[](#notes)

- Package config defaults live in `config/rivet-logging.php`.
- Queue settings use `RIVET_QUEUE_CONNECTION` and `RIVET_QUEUE_NAME`.
- Optional fallback logging channel: `RIVET_FALLBACK_CHANNEL`.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance55

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

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.

### Community

Maintainers

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

---

Top Contributors

[![ChandlerVS](https://avatars.githubusercontent.com/u/31043300?v=4)](https://github.com/ChandlerVS "ChandlerVS (15 commits)")

### Embed Badge

![Health badge](/badges/rivet-laravel-logging/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[ekino/newrelic-bundle

Integrate New Relic into Symfony2

28111.2M8](/packages/ekino-newrelic-bundle)

PHPackages © 2026

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