I opened the documentation on socketo.me. I clicked and clicked somewhere, and somehow the folder cboden \ ratchet appeared. OK.
I look further:
"autoload": { "psr-0": { "MyApp": "src" } }, What is this? What kind of psr-0? What kind of strange names they give? What is src?
namespace MyApp; use Ratchet\MessageComponentInterface; use Ratchet\ConnectionInterface; This code is highlighted in red. I do not understand where he should take it from.
require dirname(__DIR__) . '/vendor/autoload.php'; And what is this? What kind of autoload? What kind of vendor?
How to work with it? Explain somebody on your fingers.