Nice, I didnt know there was a nostr PHP. Be careful with the stringify function too, because different languages do it in different ways. This really needs to be standardized in future with test vectors, for nostr to interopate at scale in multiple langauges.
GM!
Working on this issue: https://github.com/swentel/nostr-php/issues/42 of #nostr-php
#NostrDev #PHP
Discussion
Which stringify function? The lib is using the json_encode and json_code functions for getting the PHP objects (the Nostr events) as a json string.