If you install the voryx/wamppost package in version 0.1.5 (composer.json like below)
You will get an error because the usage of \React\Socket\Server::__construct has changed. But your code does'nt:
src/WampPost/WampPost.php:32:
$this->socket = new Server($loop);
But the signature of the class looks like this:
public function __construct($uri, LoopInterface $loop, array $context = array())
composer.json:
{
"name": "nepda/wamp-post-example",
"type": "project",
"require": {
"voryx/wamppost": "^0.1.5"
}
}