Skip to main content

DatabaseCheck

IfThen....
Cannot connect to database🚨 Fail

👀 View source on Github

Custom connection​

By default, this check will read the connection name from your application's config. If you want to check a different connection, you can set the connection name like so:

<?php

DatabaseCheck::make()->connection('mongodb');