Skip to content

Expand README: requirements, actions-pattern synopsis, end-to-end example#17

Merged
tomschlick merged 1 commit into
masterfrom
tomschlick/readme-actions-pattern
Jun 30, 2026
Merged

Expand README: requirements, actions-pattern synopsis, end-to-end example#17
tomschlick merged 1 commit into
masterfrom
tomschlick/readme-actions-pattern

Conversation

@tomschlick

Copy link
Copy Markdown
Member

Documents the new PHP 8.3+ / Laravel 12+ minimums in a new Requirements section. Adds a synopsis of the actions pattern — one public handle(), private helper methods, constructor dependency injection, and composition/"chaining". Adds an end-to-end Entrypoint → Action → Persistence example in a payment-refund domain, with a controller, queued job, event listener, and Artisan command calling a ProcessRefund action backed by a repository and Eloquent models. Fixes the existing Action Class example so it actually implements ActionsPatternInterface and uses the ActionsPattern trait. Corrects the CI status badges to point at the master branch instead of main.

🤖 Generated with Claude Code

…mple

Document the new PHP 8.3+/Laravel 12+ minimums, add a synopsis of the actions
pattern, and show an end-to-end Entrypoint -> Action -> Persistence example.
Also fix the Action Class example to implement the interface/trait and correct
the CI badges to point at master.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tomschlick
tomschlick enabled auto-merge (squash) June 30, 2026 16:56
@tomschlick
tomschlick disabled auto-merge June 30, 2026 16:56
@tomschlick
tomschlick merged commit cbef58f into master Jun 30, 2026
1 check passed
@tomschlick
tomschlick deleted the tomschlick/readme-actions-pattern branch June 30, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant