PHPackages                             thelia/health-status-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. thelia/health-status-module

ActiveThelia-module

thelia/health-status-module
===========================

1.0.1(1y ago)07LGPL-3.0+PHP

Since Feb 9Pushed 1y ago6 watchersCompare

[ Source](https://github.com/thelia-modules/HealthStatus)[ Packagist](https://packagist.org/packages/thelia/health-status-module)[ RSS](/packages/thelia-health-status-module/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

Health Status
=============

[](#health-status)

Find out information about the health of your Thelia installation.

en\_US
------

[](#en_us)

### Description

[](#description)

This module allows you to check the health of your Thelia installation. It provides a page where you can see the status of your modules and more information about the health of your website.

Installation
------------

[](#installation)

### Manually

[](#manually)

- Copy the module into `/local/modules/` directory and be sure that the name of the module is HealthStatus.
- Activate it in your Thelia administration panel

### Composer

[](#composer)

```
composer require thelia/health-status-module:~1.0
```

Usage
-----

[](#usage)

Once activated, you can access the health status page by going to the following URL: `/admin/module/HealthStatus/show`The module allows you to view the latest versions of your modules, and to see if your modules are up-to-date. You can also see whether your Thelia installation is up-to-date, and whether your server is correctly configured. At the same time, you can keep an eye on the configuration of your modules, and see if everything is set up correctly.

Extending the module
--------------------

[](#extending-the-module)

The module lets you add your own checks by listening to the "module.config" event. It works through a GenericEvent that is listened to by an EventListener. This EventListener must be created in the module you wish to add the verification(s) to. Here's an example of an EventListener that listens to the "module.config" event.

### Example

[](#example)

```
namespace MyModule\EventListener;

use Symfony\Component\EventDispatcher\GenericEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

class MyModuleHealthCheckListener implements EventSubscriberInterface
{
    public static function getSubscribedEvents(): array
    {
        return [
            'module.config' => [
                'onModuleConfig', 128
                ],
        ];
    }

    public function onModuleConfig(GenericEvent $event): void
    {
        $subject = $event->getSubject();

        if ($subject !== "HealthStatus") {
            throw new \RuntimeException('Event subject does not match expected value');
        }
           // Add your code here, for example check if a configuration is set
    }
}
```

Caution

If you're running Thelia version 2.4 or lower, you need to add the following code to config.xml for the EventListener to work, but also on slightly older modules. ( In Thelia 2.5 and newer modules, the EventListener is automatically detected with autowiring. )

### Example

[](#example-1)

```

```

fr\_FR
------

[](#fr_fr)

### Description

[](#description-1)

Ce module vous permet de vérifier l'état de votre installation Thelia. Il fournit une page où vous pouvez voir l'état de vos modules et plus d'informations sur la santé de votre site web.

Installation
------------

[](#installation-1)

### Manuellement

[](#manuellement)

- Copiez le module dans le répertoire `/local/modules/` et assurez-vous que le nom du module est bien HealthStatus.
- Activez-le dans votre panneau d'administration Thelia

### Composer

[](#composer-1)

```
composer require thelia/health-status-module:~1.0
```

Utilisation
-----------

[](#utilisation)

Une fois activé, vous pouvez accéder à la page de statut de santé en allant à l'URL suivante: `/admin/module/HealthStatus/show`Le module vous permet les dernières versions de vos modules, et de voir si vos modules sont à jour. De plus, vous pouvez voir si votre installation Thelia est à jour, mais aussi si votre serveur est configuré correctement. Parrallèlement, vous pouvez garder un oeil sur la configuration de vos modules, et voir si tout est correctement configuré.

Étendre le module
-----------------

[](#étendre-le-module)

Le module vous permet d'ajouter vos propres vérifications en écoutant l'événement "module.config". Il fonctionne grâce à un GenericEvent qui est écouter par un EventListener. Cet EventListener doit être créé dans le module que vous souhaitez ajouter la ou les vérification(s). Voici un exemple d'un EventListener qui écoute l'événement "module.config".

### Exemple

[](#exemple)

```
namespace MyModule\EventListener;

use Symfony\Component\EventDispatcher\GenericEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

class MyModuleHealthCheckListener implements EventSubscriberInterface
{
    public static function getSubscribedEvents(): array
    {
        return [
            'module.config' => [
                'onModuleConfig', 128
                ],
        ];
    }

    public function onModuleConfig(GenericEvent $event): void
    {
        $subject = $event->getSubject();

        if ($subject !== "HealthStatus") {
            throw new \RuntimeException('Event subject does not match expected value');
        }
           // Add your code here, for example check if a configuration is set
    }
}
```

Caution

Si vous exécutez une version 2.4 de Thelia ou inférieure, vous devez ajouter le code suivant au config.xml pour que l'EventListener fonctionne, mais aussi sur les modules qui sont un peu plus anciens. ( Dans Thelia 2.5 et pour les modules plus récents, l'EventListener est automatiquement détecté avec l'autowiring. )

### Exemple

[](#exemple-1)

```

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~15 days

Total

2

Last Release

691d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![gregorylss](https://avatars.githubusercontent.com/u/100703238?v=4)](https://github.com/gregorylss "gregorylss (5 commits)")[![zawaze](https://avatars.githubusercontent.com/u/37273643?v=4)](https://github.com/zawaze "zawaze (5 commits)")

### Embed Badge

![Health badge](/badges/thelia-health-status-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-health-status-module/health.svg)](https://phpackages.com/packages/thelia-health-status-module)
```

###  Alternatives

[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[forumify/forumify-platform

121.8k11](/packages/forumify-forumify-platform)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
