Download the PHP package tylerwoonton/laravel-dashboard-health-check-tile without Composer

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

Health Check Tile for Laravel Dashboard

Packagist Version GitHub license GitHub Workflow Status

Buy us a tree

The purpose of this package is to integrate the ukfast/laravel-health-check package into a tile for spatie/laravel-dashboard.

Example Screenshot

Installation

This package requires the ukfast/laravel-health-check package to be running on the endpoint provided so we can assert that your services are working. Please follow the instructions in that repo to install the package.

You can install the package via composer:

Configuration

In the dashboard config file, you must add this configuration in the tiles key.

The sites array should contain an array of sites with their respective URLs and any custom headers or Guzzle options that need to be executed when hitting the URL.

The timeout option is the Guzzle request timeout in seconds. This is, by default, 3 seconds per request.

The show_failures option determines whether the services failing are displayed on the tile. If you only want to see concise, overall statuses it's fine to disable this.

The refresh_interval option determines how many seconds will pass before the dashboard tile is re-rendered.

In app\Console\Kernel.php you should schedule the \TylerWoonton\HealthCheckTile\Commands\FetchHealthCheckDataCommand to run. You can let it run every minute if you want. You could also run it less frequently if fast updates on the dashboard aren't that important for this tile.

Usage

In your dashboard view you use the livewire:health-check-tile component.

Customising the view

If you want to customise the view used to render this tile, run this command:

Testing

Contributing

We welcome contributions to this package. All new changes should be well-tested and follow PSR-12 standards.

Please refer to our CONTRIBUTING file for more information.

Treeware

This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.


All versions of laravel-dashboard-health-check-tile with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4
guzzlehttp/guzzle Version ^6.5
illuminate/console Version ^8.0
illuminate/http Version ^8.0
illuminate/support Version ^8.0
livewire/livewire Version ^2.0
spatie/laravel-dashboard Version ^2.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 tylerwoonton/laravel-dashboard-health-check-tile contains the following files

Loading the files please wait ....