Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

laravel-server-monitor

> 后端框架
Open source

Don't let your servers just melt down

845 stars0 likes3 views
WebsiteGitHub

About

Don't let your servers just melt down

We all dream of servers that need no maintenance at all. But unfortunately in reality this is not the case. Disks can get full, processes can crash, the server can run out of memory...

This package keeps an eye on the health of all your servers. There are a few checks that come out of the box. Adding new checks is a breeze.

When something goes wrong it can notify you via Slack or mail.

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Documentation

The full documentation is available on our documentation site.

Installation

You can install this package via composer using this command:

bash
composer require spatie/laravel-server-monitor

In Laravel 5.5 the service provider will automatically get registered. In older versions of the framework, you must install the service provider:

php
// config/app.php
'providers' => [
    ...
    Spatie\ServerMonitor\ServerMonitorServiceProvider::class,
];

You can publish the migrations with:

bash
php artisan vendor:publish --provider="Spatie\ServerMonitor\ServerMonitorServiceProvider" --tag="migrations"

After the migration has been published you can create the hosts and checks tables by running the migrations:

bash
php artisan migrate

You must publish the config-file with:

bash
php artisan vendor:publish --provider="Spatie\ServerMonitor\ServerMonitorServiceProvider" --tag="config"

This is the contents of the published config file:

…

Need a UI?

The package doesn't come with any screens out of the box. You may use the Nova package by @paras-malhotra for monitoring servers on Laravel Nova.

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

To run the tests you'll have to start the included node based dummy ssh server first in a separate terminal window.

bash
cd tests/server
npm install
./start_server.sh

With the server running, you can start testing.

bash
vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

Security

If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.

Credits

  • Freek Van der Herten
  • All Contributors

The code to execute commands on a remote server was copied from Envoy.

License

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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPdevopslaravelmonitornotifications

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架