Padosoft Laravel Conventions

Use this skill when writing or reviewing Laravel/PHP code — a controller, a FormRequest, a service, a job, a migration, an Eloquent query, a model event, a queued or bulk operation — and whenever a symptom shows up: a controller that grew into the business logic, an N+1 found in the logs, a bulk command that runs out of memory, a job that retries something it should not, a soft-deleted row reappearing in a count, a model event that fires on a mass update and does not. It applies to any Laravel version: the rules are about the shape of the application. Do not use it for a security review (padosoft-laravel-security-review), for what goes in a log (padosoft-logging-discipline), or for infrastructure and deployment.

padosoft Updated

File contents

padosoft/skills/tree/main/skills/padosoft-laravel-conventions commit 085725622e

Frequently asked questions

npx skillmds@latest add padosoft/padosoft-laravel-conventions