sushi-market/laravel-info
laravel-info
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
Related Packages
A Laravel + Livewire task board where you queue work for your coding agent and f...
Make temporary Laravel workarounds expire and fail CI when ignored.
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.0.5 | ^8.1 | ^10.0| | MIT | |
| v1.0.4 | ^8.1 | ^10.0| | MIT | |
| v1.0.3 | ^8.1 | ^10.0| | MIT | |
| v1.0.2 | ^8.4 | ^11.0| | MIT | |
| v1.0.1 | ^8.4 | ^11.0| | MIT | |
| v1.0.0 | ^8.4 | ^11.0| | MIT |