larastan

Community

Laravel static analysis with PHPStan.

Authorohnotnow
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PHPStan/Larastan helps Laravel projects catch real code-quality issues by filtering out framework noise and magic patterns that confuse static analysis.

Core Features & Use Cases

  • Noise filtering to surface genuine defects by accounting for Laravel's dynamic properties, casts, and relations.
  • Setup guidance to install Larastan, generate or update phpstan.neon, and adjust ignore rules for common patterns.
  • Incremental quality improvements by stepping through PHPStan levels from 1 to 5 as projects mature.

Quick Start

Run PHPStan analysis in the Laravel project root to begin surfacing real issues and iteratively fix them.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: larastan
Download link: https://github.com/ohnotnow/agentic-stuff/archive/main.zip#larastan

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.