diego/health-middleware

dev-main 2024-06-27 07:53 UTC

This package is auto-updated.

Last update: 2024-11-27 08:38:37 UTC


README

Installation

composer require diego/health-middleware

Configuration (example)

# Configuration/RequestMiddlewares.php

<?php declare(strict_types=1);

use Diego\HealthMiddleware\HealthMiddleware;
use TYPO3\CMS\Core\Core\Environment;

return [
    'frontend' => [
        HealthMiddleware::IDENTIFIER => [
            'target' => HealthMiddleware::class,
            'before' => [
                'typo3/cms-frontend/timetracker',
            ],
            'disabled' => !Environment::getContext()->isDevelopment(),
        ],
    ],
];