elephox / inspector
Commands and endpoints to inspect your Elephox application.
v0.2.1
2022-03-04 01:27 UTC
Requires
- php: >=8.1
- ext-ctype: *
- elephox/core: 0.4.x-dev || 1.x-dev
- elephox/files: 0.4.x-dev || 1.x-dev
- elephox/logging: 0.4.x-dev || 1.x-dev
- jetbrains/phpstorm-attributes: ^1.0
This package is auto-updated.
Last update: 2024-10-10 05:52:22 UTC
README
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