Laravel Statecraft

Laravel/PHP backend skill that enforces the Bounded Context + State Machine + Job Orchestration pattern for bulletproof business logic. Uses standard Laravel directory conventions (app/Models, app/Actions, app/Data, app/Enums). Bounded Contexts own their models and invariants, state machines enforce transitions within each context, Laravel jobs orchestrate side effects. Mandatory testing with Pest, PHPStan level 6, Laravel Pint, and b7s/catraca quality gates.

b7s Updated

File contents

b7s/skill-laravel-statecraft/tree/main/laravel-statecraft commit 38bd73b2b1

Frequently asked questions

npx skillmds@latest add b7s/laravel-statecraft