Damus
Nostr-PHP profile picture
Nostr-PHP
@Nostr-PHP
Release 1.7.x it out with full NIP-19 support! #PHP
https://github.com/nostrver-se/nostr-php/releases/tag/1.7.0

Here are some example snippet how it can be used:
https://github.com/nostrver-se/nostr-php/blob/main/src/Examples/nip19-bech32-encoded-entities.php
https://github.com/nostrver-se/nostr-php/blob/main/src/Examples/nip19-bech32-decoded-entities.php

Many thanks to @Rik ๐Ÿ”ฅ ๐Ÿ” ๐Ÿƒ ๐ŸŒŠ and @Nusa for refactoring the bech32 low-level stuff so it support strings with a length higher than 90 characters up to 5000.
1โค๏ธ1