Looking to hire Laravel developers? Try LaraJobs

laravel-server-health maintained by atikrahman

Description
This package generates url to check laravel hosted os and server information as well as watch for high alerts
Author
Last update
2021/09/14 12:42 (dev-main)
License
Links
Downloads
17

Comments
comments powered by Disqus

Laravel Server Health

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.