Class Reference
This reference covers the current public surface of php-n8n/client.
It is grouped by namespace and focuses on the classes you use when integrating the package.
| Section | Covers |
|---|---|
| Client | N8nClient and Execution. |
| Config | ApiConfig, ExecutionFetchOptions, PollingConfig. |
| Webhooks | Webhook targets, requests, responses, triggerer, resolver, enums. |
| Executions | Execution references, results, statuses, data, tracker. |
| Hooks | Lifecycle hooks, hook context, registry. |
| Contracts | Public extension interfaces. |
| Exceptions | Package exception types. |
Package Namespace
The package uses this root namespace:
php
PhpN8n\ClientComposer autoloads it from src/.
Runtime Requirements
| Requirement | Version |
|---|---|
| PHP | >=8.2 |
psr/http-client | ^1.0 |
psr/http-factory | ^1.0 |
psr/http-message | `^1.0 |
The package does not require a concrete HTTP client at runtime.
