A working stand-in for the RakNet layer that speaks NetherNet (Bedrock's WebRTC
transport), built as a pocketmine\network\NetworkInterface on pure PHP FFI over
prebuilt libdatachannel binaries. No PHP extension to build or maintain; the one
native file is a ~100-line event shim that any C toolchain compiles.
The attached php-nethernet.zip is the whole project: transport, signaling,
PocketMine glue, demo plugin, tests, shim source and its README with the details.