I installed the slim through the composer. The information is ready. Type localhost: 8080 and the slim page appears.
But when I use the php example code, it does not run because the Psr \ Http \ Message \ folder does not exist.
I changed the command line
use \Psr\Http\Message\ServerRequestInterface as Request;
use \Psr\Http\Message\ResponseInterface as Response;
use vendor\psr\http-message\scr\ServerRequestInterface as Request;
use vendor\psr\http-message\scr\ResponseInterface as Response;
I changed the command line because those folder were created.
Parse error: syntax error, unexpected ‘-’, expecting ‘,’ or ‘;’ in C:\xampp\htdocs\composer\escola\index.php on line 3
So I renamed the http-message folder to http, created the sub folder message, and put the files inside it.
New error citing path that does not exist in message.php