By edulazaro
The ultimate Laravel toolkit for Claude Code. Migration consolidation, model analysis, N+1 detection, Volt scaffolding, and more.
Paste a Laravel stacktrace and get root cause analysis with suggested fix.
Deep analysis of a Laravel Eloquent model - relationships, scopes, casts, fillable, observers, keepers, actions.
Generate API documentation from routes, controllers, and form requests.
Detect hardcoded text without @text(), duplicate CSS classes, unused Blade components, and accessibility issues.
Runtime-verified Laravel inspection using the Laravel Boost MCP server (Tinker, Database Query/Schema, Last Error) instead of static grep. Falls back to Docker/Tinker if Boost is not installed.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.

A comprehensive Laravel toolkit plugin for Claude Code. 31 specialized skills to analyze, debug, scaffold, and optimize Laravel applications directly from your terminal.
Requires Claude Code installed.
Recommended (marketplace): add the marketplace once, then install. You get version tracking and automatic updates with /plugin marketplace update.
/plugin marketplace add edulazaro/laraclaude
/plugin install laraclaude@edulazaro
Quick install (direct from GitHub):
/plugin install github:edulazaro/laraclaude
/lc:consolidate-migrationsAnalyze and consolidate fragmented migration files. When your project accumulates hundreds of small migrations (add column, modify column, rename...), this skill merges them into clean, optimized files.
/lc:consolidate-migrations analyze # Show consolidation report
/lc:consolidate-migrations properties # Consolidate a specific table
/lc:consolidate-migrations all # Consolidate all safe tables
What it does:
/lc:check-foreign-keysDetect broken, orphaned, or missing foreign key constraints across your migrations and models.
/lc:check-foreign-keys # Check all tables
/lc:check-foreign-keys properties # Check specific table
Detects:
onDelete actions/lc:migration-fresh-testRun migrate:fresh in your Docker container and get detailed error analysis with fix suggestions.
/lc:migration-fresh-test # Run migrate:fresh
/lc:migration-fresh-test --seed # With seeders
/lc:analyze-modelDeep analysis of any Eloquent model: relationships, scopes, casts, fillable, observers, keepers, actions, and potential issues.
/lc:analyze-model Property # Analyze specific model
/lc:analyze-model # List all models
Shows:
/lc:find-n-plus-oneDetect N+1 query problems in Blade views, Livewire components, and controllers.
/lc:find-n-plus-one # Scan entire project
/lc:find-n-plus-one resources/views/ # Scan specific directory
Detects:
$model->relationship inside @foreach without eager loadingwith() in Livewire computed propertieswith() statement needed/lc:orphaned-recordsFind database records where the parent (foreign key) no longer exists.
/lc:orphaned-records # Check all tables
/lc:orphaned-records operations # Check specific table
/lc:unused-columnsDetect database columns that are never referenced anywhere in the codebase.
/lc:unused-columns # Check all tables
/lc:unused-columns properties # Check specific table
/lc:boost-inspectRuntime-verified inspection using the Laravel Boost MCP server. Instead of static grep, it reasons about the live app: real schema, real row counts, loaded models, and recent errors. Falls back to Docker + tinker if Boost is not installed.
/lc:boost-inspect # Full runtime report
/lc:boost-inspect models # Verify model relationships at runtime
/lc:boost-inspect schema # Diff live schema vs migrations
/lc:boost-inspect errors # Analyze the last runtime errors
/lc:boost-inspect Property # Focus on one model/table
What it does:
database/migrations//lc:security-auditDetect common Laravel security vulnerabilities: SQL injection, XSS, mass assignment, exposed secrets.
npx claudepluginhub edulazaro/laraclaude --plugin laraclaudeClaude Code plugin channeling Taylor Otwell's Laravel philosophy
Laravel-focused skills for Claude Code: TDD (Pest/PHPUnit), migrations, queues, quality checks (Pint/Insights), and pragmatic architecture patterns — Sail and non-Sail compatible.
Profile and optimize database queries for performance
DevsForge SQL optimization specialist for improving query performance and database efficiency
Expert Laravel 13 + PHP 8.3+ with SOLID principles, first-class PHP Attributes, Laravel AI SDK, JSON:API Resources, native vector search (pgvector), Eloquent, Livewire, queues with routing, and comprehensive documentation
Database index optimization advisor for PostgreSQL, MySQL, and SQLite. Analyzes slow queries, missing indexes, unused indexes, and over-indexed tables. Generates CREATE INDEX statements with EXPLAIN ANALYZE estimates. Use when queries are slow, p99 DB latency spikes, or when reviewing a new schema.