Download the PHP package webrek/laravel-health-ui without Composer

On this page you can find all versions of the php package webrek/laravel-health-ui. 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 laravel-health-ui

Laravel Health UI

Latest Version on Packagist Total Downloads Tests PHP Version

A production health dashboard for Laravel. Pluggable checks (database, cache, disk, external services), a JSON endpoint your uptime monitor can poll, and a clean status page — all from a single route.

Quickstart

Visit /health to see the status page, or poll it as JSON:

The endpoint returns 200 while the app is healthy and 503 the moment a check fails hard — exactly what an uptime monitor needs (Pingdom, UptimeRobot, a Kubernetes liveness probe).

What you get over Laravel's /up

Laravel's built-in /up route answers a single question: did the framework boot? That tells you nothing about whether your database is reachable, whether your cache is responding, whether the disk is filling up, or whether a third-party API you depend on is down. This package runs real checks, aggregates them, and shows you which one is sick — on a status page and as machine-readable JSON.

Status model

Each check returns one of three statuses, and the overall status is the worst of them:

Status Meaning HTTP
ok (Operational) Healthy 200
warning (Degraded) Working but needs attention (e.g. disk at 85%, debug mode enabled) 200
failed (Down) A hard failure 503

Warnings keep the endpoint at 200 so you aren't paged for degraded-but-serving conditions — only hard failures flip it to 503.

Built-in checks

Enable and tune them in config/health-ui.php:

Scheduler heartbeat

The schedule check reads a timestamp your scheduler keeps fresh. Add a frequent task that stamps it:

The check then fails if that heartbeat is older than max_age_minutes.

Writing your own check

Implement the Check contract. Return a Result, or simply throw an exception — the checker turns an exception into a failed result automatically.

Register it (e.g. in a service provider):

Command line

Run the checks from the CLI or a cron — it exits with a non-zero code when unhealthy, so it plugs straight into deployment gates and alerting:

Configuration highlights

Publish the config and views to customize them:

The endpoint can reveal internal state. In production, put it behind middleware (a token, a signed URL, or an internal network restriction).

Requirements

Component Version
PHP 8.2+
Laravel 12.x / 13.x

Testing

Contributing

See CONTRIBUTING.md.

Security

Please review the security policy before reporting a vulnerability.

License

The MIT License (MIT). See LICENSE.


All versions of laravel-health-ui with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.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 webrek/laravel-health-ui contains the following files

Loading the files please wait ...