PHPackages                             scabarcas/laravel-config-explorer - 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. scabarcas/laravel-config-explorer

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

scabarcas/laravel-config-explorer
=================================

Browse and search Laravel's runtime config() tree in the browser. For local debugging.

v0.1.0(2mo ago)21MITPHPPHP ^8.3CI passing

Since May 25Pushed 1mo agoCompare

[ Source](https://github.com/scabarcas17/laravel-config-explorer)[ Packagist](https://packagist.org/packages/scabarcas/laravel-config-explorer)[ RSS](/packages/scabarcas-laravel-config-explorer/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (11)Versions (2)Used By (0)

Laravel Config Explorer
=======================

[](#laravel-config-explorer)

[![CI](https://github.com/scabarcas17/laravel-config-explorer/actions/workflows/ci.yml/badge.svg)](https://github.com/scabarcas17/laravel-config-explorer/actions/workflows/ci.yml)[![Latest Version on Packagist](https://camo.githubusercontent.com/063f2ab29541053f652d0e8229817982843a02daf5c3d227c7927e316e4a3ded/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7363616261726361732f6c61726176656c2d636f6e6669672d6578706c6f7265722e737667)](https://packagist.org/packages/scabarcas/laravel-config-explorer)[![Total Downloads](https://camo.githubusercontent.com/e950dd735da32067ffdf4aeccd92c0ddf7b3855e75ca14f5940da8b82941a054/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7363616261726361732f6c61726176656c2d636f6e6669672d6578706c6f7265722e737667)](https://packagist.org/packages/scabarcas/laravel-config-explorer)[![PHP Version](https://camo.githubusercontent.com/ced2fffb75b03472c1b06ba5f4f2223a7a7783755f39d28a5e92d548427f164c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7363616261726361732f6c61726176656c2d636f6e6669672d6578706c6f7265722e737667)](https://packagist.org/packages/scabarcas/laravel-config-explorer)[![License](https://camo.githubusercontent.com/73e1187bd64d58be751f53fecb7ff4a450e6e502754eb306622b5e62f6bb243e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7363616261726361732f6c61726176656c2d636f6e6669672d6578706c6f7265722e7376673f763d302e312e30)](https://github.com/scabarcas17/laravel-config-explorer/blob/main/LICENSE)

Browse and search Laravel's runtime config() tree in the browser. For local debugging.

`php artisan config:show ` retrieves a specific value. This package renders the full merged config tree at runtime and supports filtering by group and searching by key or value. Useful when you don't know the exact key you're looking for.

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

[](#installation)

```
composer require scabarcas/laravel-config-explorer --dev
```

The service provider is auto-discovered. Visit  in your local environment.

Configuration
-------------

[](#configuration)

Publish the config file to customize:

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

```
return [
    // null = auto-detect (debug + non-production); true/false to force.
    'enabled' => env('CONFIG_EXPLORER_ENABLED'),

    'route' => [
        'prefix'     => 'config-explorer',
        'middleware' => ['web'],
        'name'       => 'config-explorer.show',
    ],

    'redact_patterns' => [
        '*password*',
        '*secret*',
        '*token*',
        // ...add patterns specific to your app
    ],
];
```

### Enabling

[](#enabling)

By default the explorer route is mounted but the request returns 404 unless:

- `CONFIG_EXPLORER_ENABLED=true`, **or**
- `APP_DEBUG=true` and `APP_ENV` is not `production`.

To expose the explorer behind authentication in a non-local environment (e.g. staging), enable it explicitly and add middleware:

```
'enabled'    => true,
'middleware' => ['web', 'auth', 'can:viewConfigExplorer'],
```

Security
--------

[](#security)

Configuration data routinely contains credentials. Config Explorer redacts keys matching the `redact_patterns` list before rendering. The defaults cover common cases (`*password*`, `*secret*`, `*token*`, `*api_key*`, `app.key`, `services.*.secret`, `database.connections.*.password`, `mail.mailers.*.password`) but **review the list for your app before enabling this anywhere other than your local machine**.

The route also emits `` and ships with auto-detection that returns 404 in production. If you enable it in production, gate it behind authentication.

Why?
----

[](#why)

Inspired by [stechstudio/phpinfo](https://packagist.org/packages/stechstudio/phpinfo), which solves the same problem for PHP's `phpinfo()`. Laravel ships `php artisan config:show` for known keys; this package covers the discovery side.

Testing
-------

[](#testing)

```
composer install
composer test
composer analyse
composer format
```

Author
------

[](#author)

**Sebastian Cabarcas Berrio** ·  · [@scabarcas17](https://github.com/scabarcas17)

License
-------

[](#license)

MIT © Sebastian Cabarcas Berrio

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance88

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

60d ago

### Community

Maintainers

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

---

Top Contributors

[![scabarcas17](https://avatars.githubusercontent.com/u/42840369?v=4)](https://github.com/scabarcas17 "scabarcas17 (14 commits)")

---

Tags

config-inspectionconfigurationdebuggingdeveloper-toolsinspectorlaravellaravel-packagephpruntime-configlaravelconfigurationconfigdebuggingexplorerinspectordeveloper-toolsdev-toolsphpinfo

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/scabarcas-laravel-config-explorer/health.svg)

```
[![Health](https://phpackages.com/badges/scabarcas-laravel-config-explorer/health.svg)](https://phpackages.com/packages/scabarcas-laravel-config-explorer)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k30.2M151](/packages/laravel-cashier)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M136](/packages/laravel-pulse)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77922.3M186](/packages/laravel-mcp)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M133](/packages/roots-acorn)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)

PHPackages © 2026

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