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(11mo ago)19[1 issues](https://github.com/alikhoursand/larager/issues)MITPHPPHP ^8.1

Since Jun 15Pushed 11mo agoCompare

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

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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE1MzM2NzUsIm5iZiI6MTc4MTUzMzM3NSwicGF0aCI6Ii82MDMxNjIyOC80NTUyNDI0MjYtMTc4MTg2OTQtMmYyYy00MTcyLTg2N2MtYzUwY2Y1NThhN2M4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE1VDE0MjI1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBkYTcyOWE0ZGIxNzE4ZTgzMDg3N2I1OTMxNTMwN2ZkZDNmMGE0MDUyMjA3Njc4ZGJiZmU0ZWU3ODgyY2QzYjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.EU5gAl76EJIqyoVquJKA8_o7GDAYgxgnygK3i3sb67M)](https://private-user-images.githubusercontent.com/60316228/455242426-17818694-2f2c-4172-867c-c50cf558a7c8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE1MzM2NzUsIm5iZiI6MTc4MTUzMzM3NSwicGF0aCI6Ii82MDMxNjIyOC80NTUyNDI0MjYtMTc4MTg2OTQtMmYyYy00MTcyLTg2N2MtYzUwY2Y1NThhN2M4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE1VDE0MjI1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBkYTcyOWE0ZGIxNzE4ZTgzMDg3N2I1OTMxNTMwN2ZkZDNmMGE0MDUyMjA3Njc4ZGJiZmU0ZWU3ODgyY2QzYjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.EU5gAl76EJIqyoVquJKA8_o7GDAYgxgnygK3i3sb67M)

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

25

—

LowBetter than 35% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

356d 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.

90336.2M38](/packages/bugsnag-bugsnag-laravel)[rollbar/rollbar-laravel

Rollbar error monitoring integration for Laravel projects

14110.9M11](/packages/rollbar-rollbar-laravel)[honeybadger-io/honeybadger-laravel

Honeybadger Laravel integration

431.3M](/packages/honeybadger-io-honeybadger-laravel)[kssadi/log-tracker

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

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

PHPackages © 2026

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