elephox/inspector

Commands and endpoints to inspect your Elephox application.

Installs: 25

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/elephox/inspector

v0.2.1 2022-03-04 01:27 UTC

This package is auto-updated.

Last update: 2025-09-10 07:48:27 UTC


README

Elephox Logo

Inspector helps debugging your Elephox application.

Installation

Simply add the InspectorRegistrar to your Core bootstrap:

// bin/run

// create your console app builder
$builder = ConsoleApplicationBuilder::create()
	->addLogging()
	->addWhoops()
;

// load your app commands
$builder->commands->loadFromNamespace("App\\Commands");

// load the inspector commands
$builder->commands->loadFromNamespace("Elephox\\Inspector\\Commands");

Commands

# list all application routes
phox inspector:routes

# serve your application on port 8080 in production mode
phox inspector:serve --port=8080 --env=production