Opcua Session Manager

Keep OPC UA sessions alive across PHP requests via a ReactPHP daemon and local IPC (Unix-domain socket on Linux/macOS, TCP loopback on Windows — auto-selected). ManagedClient is a drop-in OpcUaClientInterface replacement for php-opcua/opcua-client's Client — same API surface, persistent sessions, ~150ms handshake overhead paid once instead of every request. Use this skill whenever the user wants to eliminate per-request OPC UA connection cost, run OPC UA from PHP-FPM / Laravel / Symfony web requests, keep subscriptions / monitored items alive between requests, or operate a long-running OPC UA daemon process.

php-opcua 47180ee 9 files · 79.2 KB Updated

File contents

php-opcua/ai-skills/tree/main/skills/opcua-session-manager commit 47180ee4ca

Frequently asked questions

npx skillmds@latest add php-opcua/opcua-session-manager