PHPackages                             narolalabs/error-lens - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. narolalabs/error-lens

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

narolalabs/error-lens
=====================

See, Understand, and Handle Laravel Errors using ErrorLens

v2.6.2(1y ago)4231↑782.4%MITBladePHP ^7.3|^8.0|^8.1|^8.2

Since Aug 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/narolalabs/error-lens)[ Packagist](https://packagist.org/packages/narolalabs/error-lens)[ Docs](https://github.com/narolalabs/error-lens)[ RSS](/packages/narolalabs-error-lens/feed)WikiDiscussions v2.x Synced 1mo ago

READMEChangelog (8)Dependencies (8)Versions (34)Used By (0)

See, Understand, and Handle Laravel Errors using ErrorLens
==========================================================

[](#see-understand-and-handle-laravel-errors-using-errorlens)

[![Latest Version on Packagist](https://camo.githubusercontent.com/88f22b0fe522c4abc67bc15ec8cd9f0c3e95856b30829ee320d64877d72d1705/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e61726f6c616c6162732f6572726f722d6c656e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/narolalabs/error-lens)[![Total Downloads](https://camo.githubusercontent.com/5ab7dfae775f3d9bd698b9669b200ffa91d863c001d92b11785667088add79ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e61726f6c616c6162732f6572726f722d6c656e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/narolalabs/error-lens)

[![ErrorLens](https://github.com/narolalabs/error-lens/raw/v2.x/resources/dist/assets/readme-images/Banner.png)](https://github.com/narolalabs/error-lens/blob/v2.x/resources/dist/assets/readme-images/Banner.png)

Version Compatibility
---------------------

[](#version-compatibility)

- **PHP** (7.3, 7.4, 8.0, 8.1)
- **Laravel** (8.x, 9.x, 10.x, 11x)

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

[](#installation)

*Please adhere to the following instructions meticulously to successfully complete the installation process.*

Package Installation **(Required)**

```
composer require narolalabs/error-lens
```

Install recommended migration, assets and seeder with single command. **(Required)**

```
php artisan error-lens:install
```

> **Note**: If you wish to reset the error log tables, you can use the `--fresh` flag. For example: `php artisan error-lens:install --fresh`.

To safeguard against unauthorized access, you can set or reset the username and password for authentication. **(Highly recommended but optional)**

```
php artisan error-lens:authentication
```

Once you have completed the above steps, clear the cache using the following command.

```
php artisan config:clear
```

> **Important Instructions**: If you are installing in a development environment and the cache is not cleared, please re-run the `php artisan serve` command.

Finally, To view all the error logs, visit the **`https://domain.com/error-lens`**

Upgrade
-------

[](#upgrade)

While you upgrade the package and wish to install recommended configurations, you can do that with a single command.

```
php artisan error-lens:update
```

Additional Configurations
-------------------------

[](#additional-configurations)

*In case you face any issues with the above installation and upgrade commands, you can resolve them by running the individual commands provided below.*

Publish and run migration

```
php artisan vendor:publish --tag="error-lens-migrations"
```

```
php artisan migrate
```

Publish Assets

```
php artisan vendor:publish --tag="error-lens-assets" --force
```

If you are not aware or confused about the setting configurations, you can publish the seeder and run it.

```
php artisan vendor:publish --tag=error-lens-seeds
```

```
php artisan db:seed --class=ErrorLensConfigurationSeeder
```

Screenshots
-----------

[](#screenshots)

[![Error Lens - Dashboard](https://github.com/narolalabs/error-lens/raw/v2.x/resources/dist/assets/readme-images/Dashboard.png)](https://github.com/narolalabs/error-lens/blob/v2.x/resources/dist/assets/readme-images/Dashboard.png)

[![Error Lens - Error modal view](https://github.com/narolalabs/error-lens/raw/v2.x/resources/dist/assets/readme-images/ErrorInDrawer.png)](https://github.com/narolalabs/error-lens/blob/v2.x/resources/dist/assets/readme-images/ErrorInDrawer.png)

[![Error Lens - Full page error view](https://github.com/narolalabs/error-lens/raw/v2.x/resources/dist/assets/readme-images/ErrorInFullPage.png)](https://github.com/narolalabs/error-lens/blob/v2.x/resources/dist/assets/readme-images/ErrorInFullPage.png)

[![Error Lens - Configuration](https://github.com/narolalabs/error-lens/raw/v2.x/resources/dist/assets/readme-images/Config.png)](https://github.com/narolalabs/error-lens/blob/v2.x/resources/dist/assets/readme-images/Config.png)

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)

- [Narola Labs](https://github.com/narolalabs)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 98.6% 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 ~11 days

Recently: every ~3 days

Total

31

Last Release

650d ago

Major Versions

v0.3 → v1.02023-09-18

v1.5.x-dev → v2.02024-01-31

PHP version history (4 changes)v0.1PHP ^8.1

v0.3PHP ^7.3|^8.0

v2.0.1PHP ^7.3|^8.0|^8.1

v2.5PHP ^7.3|^8.0|^8.1|^8.2

### Community

Maintainers

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

---

Top Contributors

[![narolalabs](https://avatars.githubusercontent.com/u/143481636?v=4)](https://github.com/narolalabs "narolalabs (137 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

error-monitoringlaravellaravelnarolalabserror-lens

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/narolalabs-error-lens/health.svg)

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

###  Alternatives

[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k124.3M624](/packages/barryvdh-laravel-debugbar)[laracraft-tech/laravel-xhprof

Easy XHProf setup to profile your laravel application!

235321.4k](/packages/laracraft-tech-laravel-xhprof)[lsrur/inspector

Laravel Inspector, debugging and profiling tools for Web Artisans

23441.1k](/packages/lsrur-inspector)[bavix/laravel-xhprof

Quick profiling of your code for Laravel

22156.6k](/packages/bavix-laravel-xhprof)[thehocinesaad/laravel-error-ai

This package adds Ask AI button to the error page.

2214.4k](/packages/thehocinesaad-laravel-error-ai)

PHPackages © 2026

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