I am trying to run the Ratchet application demo but I can\'t execute the file
This is my file structure
/var/www/src/MyApp/
/var/www/src/MyApp/chat.
If you don't have the composer.json file and the vendor folder at root, it won't work. Also, don't touch the vendor folder (and subfolders). The folder structure must be like this:
/composer.json
/composer.phar
/vendor/[misc]
/src/MyApp/Chat.php
Finally, after updating the composer.json, make sure to run an update:
php composer.phar update
This way it will work.