Since the last release of the MoonGuard Filament Plugin, we have been searching for new features to enhance the experience of supporting and monitoring Laravel applications in the cloud. One of the issues we encountered was the ability to monitor hardware variables of the servers, such as CPU and RAM usage, as well as disk storage space. These variables provide us with information about our servers, allowing us to optimize our application and prevent critical failures. We have conducted research on how to monitor these variables with PHP and would like to share it in this article.
How to monitor hardware variables in PHP
· 4 min read