Simple php WebSocket server that based on ratchet php and work like echo WebSocket server
Just clone or download and run:
php bin/ws-server
and can connect to 127.0.0.1:6001
This is free and unencumbered software released into the public domain.
The Unlicense.