Laravel Best Practices

Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.

nativephp d136d75 21 files · 57.2 KB Updated

File contents

nativephp/mobile-starter/tree/main/.claude/skills/laravel-best-practices commit d136d75566

Frequently asked questions

npx skillmds@latest add nativephp/laravel-best-practices