Skip to content
PHP Ecosystem
Explore

ConfigPanel

API reference › Debug Core › Panel › Config › ConfigPanel

final classPHPForge\Debug\Panel\Config\ConfigPanel
ExtendsPHPForge\Debug\Panel
Sourcesrc/Panel/Config/ConfigPanel.php

Presents the captured application identity, PHP runtime, and installed-extension roster.

Adapters own the phpinfo route, so they supply it with ConfigPanel::phpInfoUrl() before presenting.

MethodDescriptionDefined by
phpInfoUrl()Returns a new instance with the adapter-owned phpinfo URL.ConfigPanel
present()Builds the panel view from the decoded configuration capture.ConfigPanel
ConstantValueDescriptionDefined by
ICON\PHPForge\Debug\Panel\Config\ConfigMessage::ID->valueConfigPanel
ID\PHPForge\Debug\Panel\Config\ConfigMessage::ID->valueConfigPanel
TITLE\PHPForge\Debug\Panel\Config\ConfigMessage::TITLE->valueConfigPanel
public function phpInfoUrl(string $url): self

Returns a new instance with the adapter-owned phpinfo URL.

Parameters

ParameterTypeDescription
$urlstringAdapter-resolved phpinfo URL, or '' to omit the call to action.

Returns

self: New instance with the requested phpinfo URL.

public function present(array<string, mixed> $data): PHPForge\Debug\PanelView

Builds the panel view from the decoded configuration capture.

Parameters

ParameterTypeDescription
$dataarray<string, mixed>Decoded panel payload with a data key holding the tagged configuration.

Returns

PanelView: Identity overview, runtime sections, and the installed-extension roster.