PHPackages                             usesorane/sorane-laravel - 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. usesorane/sorane-laravel

ActiveLibrary

usesorane/sorane-laravel
========================

This package provides the integration for Ranetrace, a tool for monitoring your Laravel applications.

v1.0.25(1mo ago)2222↓100%1MITPHPPHP ^8.4

Since Sep 13Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/ranetrace/ranetrace-laravel)[ Packagist](https://packagist.org/packages/usesorane/sorane-laravel)[ Docs](https://github.com/ranetrace/ranetrace-laravel)[ RSS](/packages/usesorane-sorane-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (13)Versions (36)Used By (0)

Ranetrace: Web Application Monitoring for Laravel
=================================================

[](#ranetrace-web-application-monitoring-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/434302979fa2356c8b9bb45e3aa00433267dbd47414e5621508b6e3946dcb85f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616e6574726163652f72616e6574726163652d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ranetrace/ranetrace-laravel)[![Total Downloads](https://camo.githubusercontent.com/8392bf6a9e269e89b1e3796c37d504dd88d6988aa16b29ebe8dafc4e8fbcdd08/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616e6574726163652f72616e6574726163652d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ranetrace/ranetrace-laravel)

Ranetrace is an all-in-one tool for **Error Tracking**, **Website Analytics**, and **Website Monitoring** for Laravel applications.

- Alerts you about errors and provides the context you need to fix them
- Privacy-first, fully server-side website analytics — no cookies, no fingerprinting, no intrusive scripts
- Monitors uptime, performance, SSL certificates, domain and DNS status, Lighthouse scores, and broken links

Check out the [Ranetrace website](https://ranetrace.com) for more information.

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

[](#installation)

Install the package via Composer:

```
composer require ranetrace/ranetrace-laravel
```

Add your Ranetrace key to `.env`:

```
RANETRACE_KEY=your-key-here
```

Optionally publish the config file:

```
php artisan vendor:publish --tag="ranetrace-laravel-config"
```

Usage
-----

[](#usage)

### Error Tracking

[](#error-tracking)

Error tracking is enabled by default. Once installed, unhandled exceptions are automatically reported to your Ranetrace dashboard.

### JavaScript Error Tracking

[](#javascript-error-tracking)

1. Enable it in your `.env`:

```
RANETRACE_JAVASCRIPT_ERRORS_ENABLED=true
```

2. Add the Blade directive to your layout:

```

    @yield('content')

    @ranetraceErrorTracking

```

You can also capture errors manually:

```
window.Ranetrace.captureError(error, { payment_amount: amount });
```

### Event Tracking

[](#event-tracking)

Track custom events with a privacy-first approach — no IP addresses are stored, user agents are hashed, and session IDs rotate daily.

```
use Ranetrace\Laravel\Facades\Ranetrace;

Ranetrace::trackEvent('button_clicked', [
    'button_id' => 'header-cta',
    'page' => 'homepage'
]);
```

E-commerce helpers are available via the `RanetraceEvents` facade:

```
use Ranetrace\Laravel\Facades\RanetraceEvents;

RanetraceEvents::sale(
    orderId: 'ORDER-456',
    totalAmount: 89.97,
    products: [['id' => 'PROD-123', 'name' => 'Widget', 'price' => 29.99, 'quantity' => 3]],
    currency: 'USD'
);
```

Test your setup with:

```
php artisan ranetrace:test-events
```

### Centralized Logging

[](#centralized-logging)

Send your application logs to Ranetrace by adding the driver to `config/logging.php`:

```
'channels' => [
    'ranetrace' => [
        'driver' => 'ranetrace',
        'level' => 'error',
    ],

    'production' => [
        'driver' => 'stack',
        'channels' => array_merge(explode(',', env('LOG_STACK', 'single')), ['ranetrace']),
        'ignore_exceptions' => false,
    ],
],
```

Then enable it in your `.env`:

```
LOG_CHANNEL=production
RANETRACE_LOGGING_ENABLED=true
```

Test your setup with:

```
php artisan ranetrace:test-logging
```

### Website Analytics

[](#website-analytics)

Refer to the [Ranetrace website](https://ranetrace.com) for setup instructions.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Ranetrace](https://github.com/ranetrace)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance89

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~68 days

Total

31

Last Release

55d ago

Major Versions

v0.1.5 → v1.02024-09-16

PHP version history (3 changes)v0.1PHP ^8.2

v1.0.7PHP ^8.3

v1.0.23PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a5439b12a6fcb6dc7a8feb08189c5dbba880552ede929a003e101e8123f5d33?d=identicon)[ranetrace](/maintainers/ranetrace)

---

Top Contributors

[![ruerdev](https://avatars.githubusercontent.com/u/25254145?v=4)](https://github.com/ruerdev "ruerdev (60 commits)")

---

Tags

error-monitoringerror-reportinglaravelperformance-monitoringstatus-pageuptime-monitorwebsite-analyticslaravelranetraceranetrace-laravel

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/usesorane-sorane-laravel/health.svg)

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

###  Alternatives

[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[glhd/linen

21135.6k](/packages/glhd-linen)

PHPackages © 2026

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