bin/
chat-server.php
src/
MyApp/
Chat.php(class)
vender (library files)
composer.phar
composer.json
composer.lock
index.php
You have to include your chat.php file in your index.php or you have to append your MyApp folder to the composer autoload configuration