elephox / inspector
用于检查您Elephox应用程序的命令和端点。
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-09-10 05:40:29 UTC
README
Inspector 帮助调试您的Elephox应用程序。
安装
只需将 InspectorRegistrar
添加到您的 Core
启动配置文件中。
// 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");
命令
# list all application routes phox inspector:routes # serve your application on port 8080 in production mode phox inspector:serve --port=8080 --env=production