$app->get('/', function (Request $request, Response $response, array $args) {
$response->getBody()->write("Main"); // works
$mod = \Model\MyModel();
$mod->go();
return $response;
});
"autoload": {
"psr-4": {
"Model\\": "model/"
}
}
Fatal error: Call to undefined function model\mymodel() in
Find more questions by tags Slim Framework
Looked VIDOS with just some require_once DB inside figachat is not our way... - Elwyn_Rutherford commented on June 8th 19 at 16:45
There is nothing more there. I work DB put a separate package (from eloquent lark) - Lulu_Zulauf71 commented on June 8th 19 at 16:48