---
title: "Coming from larastan"
pagination: false
---

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

## Config translation

`pun migrate` keeps the old config and reports what it skips. Planned rules do not run.

Run `pun migrate --from phpstan` on the config that includes `larastan/larastan/extension.neon`.

| Larastan config | pun.toml |
| --- | --- |
| Larastan include | Built-in Laravel checks, with no PHP at runtime |
| Laravel dependency in composer.lock | Automatic Laravel ecosystem gate |
| Config without the Larastan include | The analyse `laravel` group is off |
| Rule booleans and changed parameters | Rule on/off settings and kebab-case options |
| `ignoreErrors` and `@phpstan-ignore larastan.*` | Pun rule IDs. Ignore tables keep the original identifier |

Laravel analysis is incomplete. See [`pun analyse`](/docs/commands/analyse#configuration).

## Rule mapping

<MigrationTable tool="larastan" />

## Pun-only rules

- [`lint/comments/no-unused-ignore`](/docs/rules/lint/comments/no-unused-ignore)
