LaravelPackages.net
Acme Inc.
Toggle sidebar
cxj/laravel-looking-glass-client

Easy to use Laravel client for the Looking Glass monitoring application.

198
1
0.3.0
About cxj/laravel-looking-glass-client

cxj/laravel-looking-glass-client is a Laravel package for easy to use laravel client for the looking glass monitoring application.. It currently has 1 GitHub stars and 198 downloads on Packagist (latest version 0.3.0). Install it with composer require cxj/laravel-looking-glass-client. Discover more Laravel packages by cxj or browse all Laravel packages to compare alternatives.

Last updated

Laravel client for the Looking Glass monitoring application

Latest Version on Packagist GitHub Tests Action Status StyleCI Total Downloads

This is an easy to use Laravel client for the Looking Glass application status and health monitoring web application. This package makes it easy for any Laravel application to report any status or health data to Looking Glass.

Installation

You can install the package via composer:

composer require cxj/laravel-looking-glass-client

You can publish the config file with:

php artisan vendor:publish --tag="laravel-looking-glass-client-config"

This is the contents of the published config file:

return [
    'url'    => env('LOOKING_GLASS_URL', 'localhost:8000/api/webhook'),
    'secret' => env('LOOKING_GLASS_SECRET', 'shared-secret'),
];

Usage

$result = Cxj\Result::make('Test message from your application');

$glass = new Cxj\LookingGlass();
$glass->transmit('Name of Test or Status', $result);

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Comments