DB connection On this page Usage This check makes sure your application can connect to a database. If the default database connection does not work, this check will fail. ##Usage Here's how you can register the check. use Spatie\Health\Facades\Health; use Spatie\Health\Checks\Checks\DatabaseCheck; Health::checks([ DatabaseCheck::new(), ]); ##Specifying the database connection To check another database connection, call connectionName() DatabaseCheck::new()->connectionName('another-connection-name'), CPU load DB connection count Help us improve this page