PHPackages                             alireza-h/laravel-devtools - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. alireza-h/laravel-devtools

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alireza-h/laravel-devtools
==========================

:laravel devtools

2.0.2(2y ago)23715PHPPHP ^7.4|^8.0

Since Oct 6Pushed 2y ago2 watchersCompare

[ Source](https://github.com/alireza-h/laravel-devtools)[ Packagist](https://packagist.org/packages/alireza-h/laravel-devtools)[ Docs](https://github.com/alireza-h/laravel-devtools)[ RSS](/packages/alireza-h-laravel-devtools/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (3)Versions (17)Used By (0)

LaravelDevTools
===============

[](#laraveldevtools)

[![devtools preview](https://github.com/alireza-h/laravel-devtools/raw/master/devtools-preview.png)](https://github.com/alireza-h/laravel-devtools/blob/master/devtools-preview.png)

- [Features](#features)
- [Installation](#installation)
- [Configuration](#configuration)
- [Dev Tools Panel](#dev-tools-panel)

### Features

[](#features)

- Error Logger with ignition
- Commands panel
- DB Schema panel, MySql or SQLite
- Cache panel, flush cache tags and cache keys
- Mail catcher
- Impersonate; Login as another user
- Installed packages list

### Installation

[](#installation)

*For Laravel &lt;=9 check 1.x version*

```
$ composer require alireza-h/laravel-devtools
```

- [Migration](#migration)
- [Publish](#publish)
- [Custom Log Channel](#custom-log-channel)

#### Migration

[](#migration)

Migrate tables

```
$ php artisan migrate
```

#### Publish

[](#publish)

Publish configs

```
$ php artisan vendor:publish --tag="devtools.config"
```

Publish assets

```
$ php artisan vendor:publish --tag="devtools.assets"
```

Publish views to customize

```
$ php artisan vendor:publish --tag="devtools.views"
```

#### Custom Log Channel

[](#custom-log-channel)

Add devtools custom log channel to `logging.php` config file and use it

```
'devtools' => [
    'driver' => 'custom',
    'via' => \AlirezaH\LaravelDevTools\Lib\Monolog\MonologLogger::class,
]

...

'channels' => [
    'stack' => [
        'driver' => 'stack',
        'channels' => ['single', 'devtools'],
        'ignore_exceptions' => false,
    ],

    ...
]
```

### Configuration

[](#configuration)

- `route_prefix` devtools panel base url
- `users` list of devtools panel credentials; username as key and password as value
- `custom_menu` custom menu items for devtools panel
- [Error Logger](#error-logger)
- [Mail Catcher](#mail-catcher)

#### Error Logger

[](#error-logger)

```
'error_logger' => [
    'enabled' => true,
    'engine' => 'db', // db | redis,
    'error_count_to_notify' => [10, 100, 1000, 10000],
    'clear_older_than' => 3600 * 72,
    'types' => [
        'warning' => [
            'log_to_slack' => false,
            'exceptions' => [
                ClientException::class,
                LaravelValidationException::class,
                TokenMismatchException::class,
                HttpException::class,
                MethodNotAllowedHttpException::class,
                AuthenticationException::class,
            ]
        ],
        'not_found' => [
            'log_to_slack' => false,
            'exceptions' => [
                ModelNotFoundException::class,
                NotFoundHttpException::class,
            ]
        ],
    ],
    'dont_log' => [ // don't log list of these exception types
        AuthenticationException::class,
        AuthorizationException::class,
        HttpException::class,
        HttpResponseException::class,
        ModelNotFoundException::class,
        SuspiciousOperationException::class,
        TokenMismatchException::class,
        ValidationException::class,
    ]
],
```

- `enabled` enable or disable devtools error logger
- `engine` store logs in `redis` or in `db`
- `error_count_to_notify` error count boundaries to notify error in slack
- `clear_older_than` clear error logs older than this value (in seconds)
- `types` categorize error logs and define each type exceptions
    - `log_to_slack` enable or disable log to slack; you need to configure logging slack channel (`LOG_SLACK_WEBHOOK_URL` in `logging.php` config file)
    - `exceptions` list of exception classes
- `dont_log` don't log list of defined exception types

#### Mail Catcher

[](#mail-catcher)

```
'mail_catcher' => [
    'enabled' => true,
    'envs' => [
        'local',
        'demo',
        //'testing',
        //'production',
    ],
],
```

- `enabled` enable or disable mail catcher
- `envs` application environments to catch mails

### Dev Tools Panel

[](#dev-tools-panel)

Navigate to

Create your own password (), add it to `devtools.php` config file:

```
'users' => [
    'your_username' => 'your_hashed_password',
],
```

and use this credential for devtools panel

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

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

Recently: every ~44 days

Total

16

Last Release

1007d ago

Major Versions

0.0.10 → 1.0.02023-02-13

1.0.0 → 2.0.02023-02-15

PHP version history (2 changes)0.0.1PHP &gt;=7.4.0

0.0.8PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5dee77bd635b2fdb405f515647c431807615947d166559a001d30827218f1b4?d=identicon)[alireza-h](/maintainers/alireza-h)

---

Top Contributors

[![alireza-h](https://avatars.githubusercontent.com/u/11046660?v=4)](https://github.com/alireza-h "alireza-h (74 commits)")

---

Tags

laravelLaravelDevTools

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alireza-h-laravel-devtools/health.svg)

```
[![Health](https://phpackages.com/badges/alireza-h-laravel-devtools/health.svg)](https://phpackages.com/packages/alireza-h-laravel-devtools)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

106106.2k](/packages/whitecube-laravel-timezones)[forxer/laravel-gravatar

A library providing easy gravatar integration in a Laravel project.

4235.6k](/packages/forxer-laravel-gravatar)

PHPackages © 2026

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