Get the latest source and go to php directory
To build distribution, you’ll need Ant
Run ant and you’ll get the distribution in target directory
To run unit tests you’ll need PHPUnit
Go to the src\test directory and run phpunit StompTest.php