Skip to content

Checks Reference Guide

This document lists all active checks in the laravel-integrity pipeline.

KeyNameSeverityFixableExpensiveDescription
strict-typesStrict Types DeclarationLowYesNoEnforces declare(strict_types=1); is present as the first statement in PHP files.
root-facadeRoot Namespace FacadesLowYesNoReplaces root facade references (e.g. \DB::) with clean imports.
direct-envDirect Env CallsMediumNoNoProhibits direct calls to env() outside config files.
unused-importUnused Import StatementsLowYesNoIdentifies and removes unused use declarations.
missing-named-routeMissing Named RoutesHighNoNoVerifies that calls to route('name') map to valid routes.
missing-view-pathMissing View PathsHighNoNoVerifies that calls to view('name'), @include('name'), and @extends('name') exist on disk.
orphaned-componentOrphaned ComponentsMediumNoNoVerifies that custom Blade tags (e.g. <x-alert />) resolve to components or views.
livewire-manifestLivewire Manifest CheckCriticalNoNoVerifies that <livewire:name /> and @livewire('name') map to registered Livewire aliases.
wire-action-methodLivewire Action MethodsCriticalNoNoAsserts that methods bound via wire:click="..." exist and are public.
wire-visibilityLivewire Property VisibilityHighNoNoAsserts that fields bound via wire:model="..." exist and are public on the component class.
route-serializationRoute SerializationHighNoYesFlags Closure routes that prevent route caching (route:cache).
dangling-controllerDangling Controller ActionsCriticalNoYesAsserts that routes map to valid controllers and public methods.
blade-compileBlade Compile CheckHighNoYesSandboxes Blade views to catch syntax and compilation errors.
seeder-existsSeeder Class ExistenceHighNoNoVerifies that classes invoked in $this->call([...]) inside database seeders exist.
pending-migrationPending MigrationsHighNoYesFlags migrations that exist on disk but have not been executed.
migration-syntaxMigration Syntax CheckCriticalNoNoParses migrations to assert they compile cleanly.
model-table-mappingModel Table MappingHighNoYesVerifies that Eloquent models correspond to existing database tables.
dead-providerDead Service ProvidersCriticalNoNoFlags service provider configurations mapping to missing classes.
policy-mappingPolicy Method MappingMediumNoYesVerifies that authorization abilities map to public policy methods.
event-listener-mappingEvent Listener MappingsHighNoYesAsserts that event listener callbacks exist and are public.