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

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

larager/larager
===============

A Laravel logger package which listens to your logs and exceptions and shows them in a user-friendly way

v1.0.3(10mo ago)19[1 issues](https://github.com/alikhoursand/larager/issues)MITPHPPHP ^8.1

Since Jun 15Pushed 10mo agoCompare

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

READMEChangelogDependencies (1)Versions (5)Used By (0)

Larager
=======

[](#larager)

A Laravel logger package that listens to your logs and exceptions and displays them in a clean, user-friendly format — perfect for debugging without digging through raw log files.

---

🚀 Features
----------

[](#-features)

- Simplifies exception and log messages
- Translates technical exceptions like `Illuminate\Database\QueryException` into readable text
- Hooks directly into Laravel's logging system
- Works with default Laravel log drivers
- Lightweight and zero-configuration (auto-discovered)

---

📦 Installation
--------------

[](#-installation)

```
composer require larager/larager
```

If you're not using Laravel's package auto-discovery, manually register the service provider in `config/app.php`:

```
'providers' => [
    Larager\Larager\LaragerServiceProvider::class,
],
```

---

⚙️ Configuration (Optional)
---------------------------

[](#️-configuration-optional)

You can publish the configuration file:

```
php artisan vendor:publish --tag=larager-config
```

This will create `config/larager.php` where you can customize how logs are simplified and displayed.

---

🧠 How It Works
--------------

[](#-how-it-works)

Larager listens to Laravel’s log events and exceptions. When an error occurs, it captures the original log and rewrites the message using a simplified format such as:

Original ExceptionLarager Output`Illuminate\Database\QueryException``Database query error``TypeError``Type error in code``ErrorException``General PHP error`---

✅ Example
---------

[](#-example)

Instead of this in your logs:

```
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'test.non_existing_table' doesn't exist (Connection: mysql, SQL: select * from `non_existing_table`)

```

You'll see:

[![Larager Example](https://private-user-images.githubusercontent.com/60316228/455242426-17818694-2f2c-4172-867c-c50cf558a7c8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUxODU3ODMsIm5iZiI6MTc3NTE4NTQ4MywicGF0aCI6Ii82MDMxNjIyOC80NTUyNDI0MjYtMTc4MTg2OTQtMmYyYy00MTcyLTg2N2MtYzUwY2Y1NThhN2M4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAzVDAzMDQ0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg0MTkwYTczYWZhMmI3NzQ0MmVjMTJkZDAxNmFjODQxMjkwZDNmYTk2OGY0ZjJkNTU2NzI1ZTY5MzM0MmVmYWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MoLyckp_pcHjxzZ8QVM18QQHlJtQ-0sVCvUuJxvzS8s)](https://private-user-images.githubusercontent.com/60316228/455242426-17818694-2f2c-4172-867c-c50cf558a7c8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUxODU3ODMsIm5iZiI6MTc3NTE4NTQ4MywicGF0aCI6Ii82MDMxNjIyOC80NTUyNDI0MjYtMTc4MTg2OTQtMmYyYy00MTcyLTg2N2MtYzUwY2Y1NThhN2M4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAzVDAzMDQ0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg0MTkwYTczYWZhMmI3NzQ0MmVjMTJkZDAxNmFjODQxMjkwZDNmYTk2OGY0ZjJkNTU2NzI1ZTY5MzM0MmVmYWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MoLyckp_pcHjxzZ8QVM18QQHlJtQ-0sVCvUuJxvzS8s)

In a whole page. Much cleaner, right?

---

🛠 Usage
-------

[](#-usage)

No manual usage needed — just install and you're done. Larager starts listening automatically.

---

📄 License
---------

[](#-license)

Larager is open-sourced software licensed under the [MIT license](LICENSE).

---

💬 Feedback / Issues
-------------------

[](#-feedback--issues)

Have suggestions or bugs? [Open an issue](https://github.com/alikhoursand/larager/issues) or feel free to contribute with a pull request!

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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

Total

4

Last Release

310d ago

### Community

Maintainers

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

---

Top Contributors

[![alikhoursand](https://avatars.githubusercontent.com/u/60316228?v=4)](https://github.com/alikhoursand "alikhoursand (10 commits)")

---

Tags

laravelloggingmonitoringexceptionsloggerlog viewer

### Embed Badge

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

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

###  Alternatives

[bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

90234.6M36](/packages/bugsnag-bugsnag-laravel)[rollbar/rollbar-laravel

Rollbar error monitoring integration for Laravel projects

14110.4M7](/packages/rollbar-rollbar-laravel)[marvinlabs/laravel-discord-logger

Logging to a discord channel in Laravel

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

Honeybadger Laravel integration

431.2M](/packages/honeybadger-io-honeybadger-laravel)[jenssegers/raven

Sentry (Raven) error monitoring integration for Laravel projects

90197.2k1](/packages/jenssegers-raven)[kssadi/log-tracker

A powerful, intuitive, and efficient log viewer for Laravel applications.

264.8k](/packages/kssadi-log-tracker)

PHPackages © 2026

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