API Reference¶
This section documents FlowDrop's stable public API — the classes and endpoints covered by backward compatibility guarantees in the 1.x release line.
API Classification¶
Every PHP class in FlowDrop carries one of two annotations:
| Annotation | Stability | Meaning |
|---|---|---|
@api |
Stable | Follows strict semver. Method signatures will not change in 1.x. |
@internal |
None | Implementation detail. May change in any release. |
See the BC Policy for the full rules.
PHP API¶
Plugin Systems¶
FlowDrop provides two stable plugin systems for extending functionality:
-
Node Processor Plugin — Create custom workflow nodes. This is the primary extension point: define parameters, implement processing logic, and your node appears in the visual editor.
-
Orchestrator Plugin — Create custom workflow execution strategies (synchronous, asynchronous, stateful, etc.).
Supporting Classes¶
-
Data Types & DTOs —
ParameterBag,Data,Output,ValidationResult,ExecutionContextDTO,NodeMetadata, and config editing value objects. -
Exceptions & Constants — Exception hierarchy (
FlowDropExceptionand subclasses) and well-known constant values (PortDirection,EdgeKeys).
REST API¶
- REST API Reference — HTTP endpoints for workflows, node types, pipelines, port configuration, and dynamic schema.
Quick Links¶
- BC Policy — What's stable, what can change
- Create a Node Processor — Step-by-step tutorial
- CHANGELOG — Release notes