0
From what I understand you’re making use of the Commodore!
Then try to load using the autoload of Poser, below is the example below:
<?php
require_once __DIR__ . '/vendor/autoload.php';
$app = new \Slim\Slim();
$app->response()->header('Content-Type', 'application/json;charset=utf-8');
$app->get('/', function () {
echo "SlimProdutos";
});
It wouldn’t be because the folder names are lowercase?
– Artur Trapp
slim or slim ???
– alexjosesilva
On your printscreen the folders are
slim
, but in your require they areSlim
. I don’t know if it does, just a suggestion– Artur Trapp
I made the changes and nothing.. the error persists!
– alexjosesilva
My version of slim : 3.xx
– alexjosesilva