Advanced
Customizing Checks
Fire Tower lets you customize which checks are included for your application. Open your FireTowerServiceProvider
class and update the array:
<?php
//...
class FireTowerServiceProvider extends ServiceProvider
{
public function boot(): void
{
//...
FireTower::checks(function () {
return [
DebugModeInProductionCheck::check(),
LaravelVersionCheck::check(),
PhpVersionCheck::check(),
MailConfigInProductionCheck::check(),
//StripeKeyCheck::check()
];
});
}
}
Preventing Notification
Preventing notification can be done through the Fire Tower interface or by chaining the ->dontNotify()
method to the check.
<?php
//...
class FireTowerServiceProvider extends ServiceProvider
{
public function boot(): void
{
//...
FireTower::checks(function () {
return [
//...
PhpVersionCheck::check()->dontNotify(),
];
});
}
}