Free Performance

Unused Global Middleware

Your application does not contain unused global HTTP middleware.

Severity
Minor
Typical fix
~5 minutes
Analyzer
UnusedGlobalMiddlewareAnalyzer

What it checks

A focused signal for performance risk.

Your application does not contain unused global HTTP middleware. LaraBeacon evaluates the relevant Laravel code, configuration, dependency, or runtime boundary and reports the concrete location whenever the analyzer can identify one.

Recommended response

Fix the cause, then lock in the decision.

Review the reported code path or runtime configuration, then verify the improvement against representative production-like traffic.

If the behavior is intentional, document the decision through LaraBeacon’s baseline or analyzer configuration instead of silently ignoring the result in a release pipeline.

Availability

Included in the open-source Core.

This analyzer ships with LaraBeacon Core and can run locally or in CI without a LaraBeacon account.