atikrahman/laravel-server-health

This package generates url to check laravel hosted os and server information as well as watch for high alerts

dev-main 2021-09-14 10:42 UTC

This package is auto-updated.

Last update: 2025-06-14 19:25:24 UTC


README

Software License

Note:

This package adds url that will show basic server information and can enhance to monitor real time.

Structure

If any of the following are applicable to your project, then the directory structure should follow industry best practices by being named the following.

src/
tests/

Install

Via Composer

$ composer require atikrahman/laravel-server-health

Usage

Visit base_url/laravel-server to check health information.
/*Basic Functions to call infromation*/
 $system_bios = new SystemBios();
        //$system_bios->getOsInfo()
        //$system_bios->getOsInfo()

dd($system_bios->getTotalRam(),$system_bios->getFreeRam(),$system_bios->getCpuLoadPercentage(),$system_bios->getDiskSize(),$system_bios->getOsTasks(),$system_bios->getOsInfo());

Change log

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

Testing

$ php tests/ExampleTest.php

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email atikrahman.ew@gmail.com instead of using the issue tracker.

Credits

License

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