Download the PHP package perfectwebteam/craft-ohdear-application-health without Composer

On this page you can find all versions of the php package perfectwebteam/craft-ohdear-application-health. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package craft-ohdear-application-health

Oh Dear Application Health checker for Craft CMS

This plugin provides a Oh Dear Application Health checker Craft CMS.

🚦 Health Checks Overview

This plugin performs the following health checks and provides a JSON feed on yourwebsite.com/application-health.json for Oh Dear.

The response is cached for 5 minutes.

✅ Updates

Checks if updates are available for Craft CMS and installed plugins.

✅ Queue Status

Monitors the number of jobs in the queue and detects any failed jobs.

✅ Pending Migrations

Verifies if there are any unapplied database migrations.

✅ Error Logs

Counts recent errors in today’s log files (web.log, queue.log, console.log).

✅ Git Repository Status

Checks if a .git repository exists and whether there are uncommitted changes.

✅ Security Headers

Fetches site headers and verifies the presence of key security headers (e.g., CSP, HSTS, X-Frame-Options).

✅ Project Config Status

Confirms if the project configuration is fully synchronized.

✅ PHP Version

Reports the active PHP version running on the server and verifies against a minimum required version.

✅ Admin Users

Lists all admin users and flags users who haven’t logged in for a configurable period.

Requirements

This plugin requires Craft CMS 4.0.0+ or 5.0.0+.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “Oh Dear Application Health”. Then click on the “Install” button in its modal window.

With Composer

Open your terminal and run the following commands:

Setup

Once Oh Dear Application Health is installed:

  1. Go to your site in Oh Dear and activate the Application health check.
  2. Set the Health Report URL to https://www.yourdomain.com/application-health.json.
  3. Copy the Health Report Secret value and set it as value for OH_DEAR_HEALTH_REPORT_SECRET= in your .env file.
  4. Optionally add a config/ohdear-application-health.php configuration file in which you can override the default settings.

Example configuration:

Brought to you by Perfect Web Team


All versions of craft-ohdear-application-health with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.2
craftcms/cms Version ^4.0|^5.0
ohdearapp/health-check-results Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package perfectwebteam/craft-ohdear-application-health contains the following files

Loading the files please wait ....