<commit_before># Laravel Health Panel And Notifier

[![Latest Stable Version](https://img.shields.io/packagist/v/pragmarx/health.svg?style=flat-square)](https://packagist.org/packages/pragmarx/health) [![License](https://img.shields.io/badge/license-BSD_3_Clause-brightgreen.svg?style=flat-square)](LICENSE) [![Downloads](https://img.shields.io/packagist/dt/pragmarx/health.svg?style=flat-square)](https://packagist.org/packages/pragmarx/health)

This package creates a service status panel for you any Laravel app and has the follwing main points:
 
- Highly extendable and configurable: you can create new checkers and notifiers very easily, and you can virtually change everything on it.
- Resilient: if the framework is working and at least one notification channel, you should receive notification messages. 
- Built in notification system: get notifications via mail, slack, telegram or anything else you need.
- Routes for: panel, json result, string result and resource.
- Configurable panel design.
- View app error messages right in the panel.
- Http response codes 200 and 500, for error states, to ease services like [Envoyer](https://envoyer.io) to keep track of your app health.

## Screenshots 

### Panel

![default panel](docs/images/error-multi.png)

### Panel alternate design

![default panel](docs/images/error-single-2-columns.png)

### Panel in 4 columns layout

![default panel](docs/images/error-single-4-columns.png)

### Error hint 

![default panel](docs/images/error-hint.png)

### Slack Notification
<commit_msg>Add info<commit_after># Laravel Health Panel And Notifier

[![Latest Stable Version](https://img.shields.io/packagist/v/pragmarx/health.svg?style=flat-square)](https://packagist.org/packages/pragmarx/health) [![License](https://img.shields.io/badge/license-BSD_3_Clause-brightgreen.svg?style=flat-square)](LICENSE) [![Downloads](https://img.shields.io/packagist/dt/pragmarx/health.svg?style=flat-square)](https://packagist.org/packages/pragmarx/health)

This package creates a service status panel for you any Laravel app and has the follwing main points:
 
- Highly extendable and configurable: you can create new checkers and notifiers very easily, and you can virtually change everything on it.
- Resilient: if the framework is working and at least one notification channel, you should receive notification messages. 
- Built in notification system: get notifications via mail, slack, telegram or anything else you need.
- Routes for: panel, json result, string result and resource.
- Configurable panel design.
- View app error messages right in the panel.
- Http response codes 200 and 500, for error states, to ease services like [Envoyer](https://envoyer.io) to keep track of your app health.

## Screenshots 

### Panel

![default panel](docs/images/error-multi.png)

### Panel alternate design

If you have lots of services to check, you may change the default panel design to use less space:

![default panel](docs/images/error-single-2-columns.png)

### Panel in 4 columns layout

![default panel](docs/images/error-single-4-columns.png)

### Error hint 

![default panel](docs/images/error-hint.png)

### Slack Notification

{'fraction_non_alphanumeric': 0.11139081183134046, 'fraction_numerical': 0.0062932662051604785, 'mean_word_length': 4.99811320754717, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '841583', 'n_tokens_mistral': 959, 'n_tokens_neox': 912, 'n_words': 310}