You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Introduce ScriptTrigger & CommandsTrigger for the PHP plugin #430
Part of #313. plugin-scripts wants every submodule to expose a ScriptTrigger and a CommandsTrigger, so a flow can be triggered whenever the underlying script/commands execution completes, with an exit condition deciding whether the trigger fires based on the result (e.g. only on failure).
plugin-script-php is missing both. Existing implementations in plugin-script-go, plugin-script-node, plugin-script-python, plugin-script-ruby, and plugin-script-shell (same package as the task classes, no nested subpackage) can be used as a reference.
What to implement
1. ScriptTrigger
Triggers when io.kestra.plugin.scripts.php.Script execution completes.
I can add the PHP ScriptTrigger and CommandsTrigger.
I’ll mirror the existing Go/Node/Python/Ruby/Shell trigger pattern in plugin-script-php: fire on Script/Commands completion, emit command/args/env/exit code/stdout-stderr (when captured) plus execution metadata, and wire the exit-condition filter the same way the other language plugins do.
GFI-sized, following the current trigger layout — happy to open a focused PR.
Activity
HarshXAI commentedon Sep 30, 2026
I can add the PHP
ScriptTriggerandCommandsTrigger.I’ll mirror the existing Go/Node/Python/Ruby/Shell trigger pattern in
plugin-script-php: fire on Script/Commands completion, emit command/args/env/exit code/stdout-stderr (when captured) plus execution metadata, and wire the exit-condition filter the same way the other language plugins do.GFI-sized, following the current trigger layout — happy to open a focused PR.
fdelbrayelle commentedon Sep 30, 2026
Thank you @HarshXAI 👋 Yes sure, go for it, I'll assign you the issue!
HarshXAI commentedon Oct 2, 2026
Opened #457 for PHP ScriptTrigger and CommandsTrigger.
fdelbrayelle commentedon Oct 12, 2026
Thanks @HarshXAI 🙏