sushi-market / laravel-info
TODO
v1.0.0
2026-05-04 09:31 UTC
Requires
- php: ^8.4
- illuminate/support: ^11.0|^12.0|^13.0
Requires (Dev)
- orchestra/testbench: ^11.1
This package is auto-updated.
Last update: 2026-05-04 09:51:30 UTC
README
A debug info page for Laravel applications — think phpinfo() but for your Laravel stack.
Available at /laravel-info, protected by Basic Auth outside of the local environment.
Installation
composer require sushi-market/laravel-info
The package auto-discovers itself via Laravel's package discovery. No manual provider registration needed.
Built-in sections
| Section | What it shows |
|---|---|
| Stack | Laravel version, PHP version, SAPI, Octane, Vite |
| Environment | App environment, server IP, client IP |
| Config | Cache driver, queue driver, session driver, mail, timezone, locale, debug mode |
| Runtime | Memory usage, peak memory, request time, OPcache status |
| Cache | Whether packages/services/config/events/routes are cached |
| Services | Database connectivity, Redis connectivity, Horizon status |
Auth
In any environment other than local, access is controlled via LARAVEL_INFO_PASSWORD:
| Value | Behaviour |
|---|---|
| not set | denied |
LARAVEL_INFO_PASSWORD=false |
open, no password required |
LARAVEL_INFO_PASSWORD=secret |
Basic Auth with that password |
The username is ignored — only the password is checked.
Adding custom sections
Implement the Section interface:
use DF\LaravelInfo\Contracts\Section; class QueueSection implements Section { public function title(): string { return 'Queue'; } public function data(): array { return [ 'Driver' => config('queue.default'), 'Failed jobs' => \DB::table('failed_jobs')->count(), ]; } }
Register it in your AppServiceProvider:
use DF\LaravelInfo\LaravelInfo; public function boot(): void { app(LaravelInfo::class)->addSection(new QueueSection()); }
The section will appear as a card on the page automatically.
Route
GET /laravel-info
Named route: laravel-info.index