But it also gave me this
PHP Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, WebSocket\Message\Text given in /home/.../vendor/swentel/nostr-php/src/Relay/Relay.php:90
Stack trace:
#0 /home/.../vendor/swentel/nostr-php/src/Relay/Relay.php(90): json_decode()
#1 /home/.../create30041Event.php(28): swentel\nostr\Relay\Relay->send()
#2 {main}
thrown in /home/.../vendor/swentel/nostr-php/src/Relay/Relay.php on line 90