# PhpInfoCompactModule

> Compact phpinfo module surfaced in the Overview instead of receiving an almost-empty standalone panel.

[API reference](/docs/api/index.md) › [Debug Core](/docs/extensions/debug-core/reference/index.md) › [PhpInfo](/docs/extensions/debug-core/reference/phpinfo/index.md) › PhpInfoCompactModule

| final readonly class | `PHPForge\Debug\PhpInfo\PhpInfoCompactModule` |
| --- | --- |
| Source | [`src/PhpInfo/PhpInfoCompactModule.php`](https://github.com/php-forge/debug-core/blob/main/src/PhpInfo/PhpInfoCompactModule.php#L10) |

Compact phpinfo module surfaced in the Overview instead of receiving an almost-empty standalone panel.

## Properties

| Property | Type | Description | Defined by |
| --- | --- | --- | --- |
| <span id="property-slug"></span>`$slug` readonly constructor | `string` | Stable deep-link slug retained when the standalone panel is summarized in the Overview. | `PhpInfoCompactModule` |
| <span id="property-tiles"></span>`$tiles` readonly constructor | `list<`[`PhpInfoTile`](/docs/extensions/debug-core/reference/phpinfo/phpinfotile/index.md)`>` | The module's one or two informational values. | `PhpInfoCompactModule` |
| <span id="property-title"></span>`$title` readonly constructor | `string` | Module title reported by [`phpinfo()`](https://www.php.net/manual/en/function.phpinfo.php). | `PhpInfoCompactModule` |

## Methods

| Method | Description | Defined by |
| --- | --- | --- |
| [`__construct()`](#method-__construct) | Creates a compact module for the phpinfo overview. | `PhpInfoCompactModule` |

## Method details

### __construct() <span id="method-__construct"></span>

```php
public function __construct(string $title, string $slug, array $tiles)
```

Creates a compact module for the phpinfo overview.

**Parameters**

| Parameter | Type | Description |
| --- | --- | --- |
| `$title` | `string` |  |
| `$slug` | `string` |  |
| `$tiles` | `array` |  |