Skip to content

feat: Plugins implementation#724

Draft
xepozz wants to merge 9 commits intomasterfrom
plugin
Draft

feat: Plugins implementation#724
xepozz wants to merge 9 commits intomasterfrom
plugin

Conversation

@xepozz
Copy link
Collaborator

@xepozz xepozz commented Mar 6, 2026

What was changed

  • Added interfaces for the plugins
  • Each interface has several methods that are called during the sdk working process
  • Each interface has no-op trait to be able to implement only necessary methods
  • There is AbstractPlugin instead of SimplePlugin as from the rest implementations
  • Using plugins with the same name raise an error
  • There's a convenient way to add plugins to a test class with php attribute
  • Worker provides used plugins, but RoadRunner plugin doesn't support it yet

Why?

Resolves #644

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@vercel
Copy link

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
php Ready Ready Preview, Comment Mar 6, 2026 8:24am

Request Review

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.

[Feature Request] Plugin support

1 participant