---
title: "lint/laravel/no-request-all"
pagination: false
---

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

<RuleId id="lint/laravel/no-request-all" />

In the [`code-quality`](/docs/rules/sets/code-quality) set. Report only. Runs when laravel is installed.

## What it does

Detects the use of `$request->all()` or `Request::all()` in Laravel applications.

## Configuration

```toml title="pun.toml"
[lint.rules]
"laravel/no-request-all" = "error"
```

To skip it in some files or lines, add an [override](/docs/configuration/pun-toml#lint) or an [ignore comment](/docs/configuration/ignore-comments).

## Replaces

- [`no-request-all`](https://mago.carthage.software/1.61.0/en/tools/linter/rules/#no-request-all) (mago-linter)

[More lint/laravel rules](/docs/rules/lint/laravel) · [Edit this page](https://github.com/shipfastlabs/pun/edit/main/crates/pun-config/rules/mapping.toml)
