Claude Code writes PHP in Laravel quite well, but it starts every session as a generalist.
It does not know your project has three hundred migrations that should be thirty, that a two files over is firing an N+1, or that your modals follow one specific pattern.
You end up re-explaining the same context constantly.
LaraClaude packages that context as slash commands.
It is a Claude Code plugin with over thirty Laravel skills, each a command.
Install it once and you have audits, scaffolders and cleanup tools that already know Laravel.
Here are the ones I run most.
How to install LaraClaude installs through Claude Code's plugin system.
Add the marketplace once, then install, so you get updates later: Or grab it directly from GitHub: You need Claude Code and a Laravel project.
That is it for most skills; a couple that hit a live database also want Docker.
Audit before you change anything Most skills default to a read-only report and only touch files when you add , so start by looking. scans your Blade views, Livewire components and controllers for a relationship accessed inside a loop, traces it back to the query that built the collection, and tells you the exact to add. is the other one I run on any project I inherit.
It looks for SQL injection, XSS, mass-assignment and secrets committed to the repo, and like most fixable skills it takes a preview flag before it changes anything.
Clean up what has piled up Every long-lived Laravel app accumulates migration cruft: a followed by twenty and files. groups them by table, classifies each table as safe to merge or not, and folds the ALTERs back into the original while leaving data migrations alone.
It refuses to run against a production database and asks before deleting anything, which is the behavior you want from something rewriting your schema history. is its companion for the code side: unused classes, methods, routes and views.
Scaffold to your conventions, not a generic stub The generators read how your project already does things instead of emitting a boilerplate stub. writes a Livewire Volt single-file component with the PHP block, validation and strings in place and a single root element. goes wider and produces the whole stack for a model, migration through views, and creates a Laractions action and registers it on the model.
There is even , which reads a real page and fills a Larascraper class from its actual markup.
Understand an unfamiliar app Two I reach for on a codebase I do not know yet. renders a Mermaid ER diagram of your Eloquent models and their relationships, which is the fastest way to see how everything connects.
And dumps one model completely: its relationships, casts, scopes, observers and the problems it notices.
When something is already broken at runtime, takes the stacktrace and finds the root cause rather than the symptom.
Wrapping up LaraClaude is over thirty of these, from to , all following the Agent Skills standard so they are just Markdown you can read.
It turns the Laravel context you keep re-explaining into commands Claude Code runs on demand. 👉 On GitHub at https://github.com/edulazaro/laraclaude