---
title: "analyse/laravel"
pagination: false
---

{/* Generated by scripts/gen-rule-docs.py. Edit mapping.toml, not this file. */}

Laravel (ecosystem: on when composer.lock has laravel/framework). Also in [format](/docs/rules/format/laravel) (1) and [lint](/docs/rules/lint/laravel) (97).

**[config-collection](/docs/rules/analyse/laravel/config-collection)**

In the `analyse-strict` preset and every stricter one. Report only. Runs when laravel is installed. Upstream gates: `checkConfigTypes (default false)`.

**[deferrable-provider-missing-provides](/docs/rules/analyse/laravel/deferrable-provider-missing-provides)**

In the `analyse-recommended` preset and every stricter one. Report only. Runs when laravel is installed.

**[missing-translation](/docs/rules/analyse/laravel/missing-translation)**

In the `analyse-recommended` preset and every stricter one. Report only. Runs when laravel is installed. Upstream gates: `checkMissingTranslations (default false)`.

**[no-auth-facade-in-request-scope](/docs/rules/analyse/laravel/no-auth-facade-in-request-scope)**

In the `analyse-strict` preset and every stricter one. Report only. Runs when laravel is installed. Upstream gates: `checkAuthCallsWhenInRequestScope (default false)`.

**[no-auth-helper-in-request-scope](/docs/rules/analyse/laravel/no-auth-helper-in-request-scope)**

In the `analyse-strict` preset and every stricter one. Report only. Runs when laravel is installed. Upstream gates: `checkAuthCallsWhenInRequestScope (default false)`.

**[no-env-outside-config](/docs/rules/analyse/laravel/no-env-outside-config)**

In the `analyse-recommended` preset and every stricter one. Report only. Runs when laravel is installed. Upstream gates: `noEnvCallsOutsideOfConfig (default true)`.

**[no-model-make](/docs/rules/analyse/laravel/no-model-make)**

In the `analyse-recommended` preset and every stricter one. Report only. Runs when laravel is installed. Upstream gates: `noModelMake (default true)`.

**[octane-compatibility](/docs/rules/analyse/laravel/octane-compatibility)**

In the `analyse-strict` preset and every stricter one. Report only. Runs when laravel is installed. Upstream gates: `checkOctaneCompatibility (default false)`.

**[redundant-collection-call](/docs/rules/analyse/laravel/redundant-collection-call)**

In the `analyse-recommended` preset and every stricter one. Report only. Runs when laravel is installed. Upstream gates: `noUnnecessaryCollectionCall (default true; noUnnecessaryCollectionCallOnly/Except)`.

**[redundant-to-array-call](/docs/rules/analyse/laravel/redundant-to-array-call)**

In the `analyse-recommended` preset and every stricter one. Report only. Runs when laravel is installed. Upstream gates: `noUnnecessaryEnumerableToArrayCalls (default false)`.

**[undefined-console-input](/docs/rules/analyse/laravel/undefined-console-input)**

In the `analyse-essential` preset and every stricter one. Report only. Runs when laravel is installed.

**[undefined-model-append](/docs/rules/analyse/laravel/undefined-model-append)**

In the `analyse-essential` preset and every stricter one. Report only. Runs when laravel is installed. Upstream gates: `checkModelAppends (default true)`.

**[undefined-relation](/docs/rules/analyse/laravel/undefined-relation)**

In the `analyse-essential` preset and every stricter one. Report only. Runs when laravel is installed.

**[unexpected-dispatch-arguments](/docs/rules/analyse/laravel/unexpected-dispatch-arguments)**

In the `analyse-essential` preset and every stricter one. Report only. Runs when laravel is installed.

**[unused-view](/docs/rules/analyse/laravel/unused-view)**

In the `analyse-recommended` preset and every stricter one. Report only. Runs when laravel is installed. Upstream gates: `checkUnusedViews (default false)`.
