Checks

Laravel Version Check

Overview

This check has two parts, a client side part, and a server side part. You application sends the Laravel version from your application in the report. Our server compares that version with the latest data from the laravelversions.com API.

Options

  • onlyMajor(): Will only check the major version for notification purposes
  • onlyMinor(): Will only check the minor version for notification purposes

Using this check

This check is turned on by default.

You can update your FireTowerServiceProvider class to include the check and any options.

<?php
//...
class FireTowerServiceProvider extends ServiceProvider
{
  public function boot(): void
  {
    //...

    FireTower::checks(function () {
        return [
			//...
            LaravelVersionCheck::check()->onlyMajor(),
        ];
    });

  }
}