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.

nunomaduro Updated

File contents

nunomaduro/laravel-starter-kit/tree/main/.junie/skills/laravel-best-practices commit 99018f3aed

Frequently asked questions

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