Slim not working after composer install


#1

Hi,
Just installed SLIM as instructed:
composer create-project slim/slim-skeleton slim_test

And then ran the webserver:
php -s localhost:8080 -t public public/index.php

When i do this i get the following error:
Uncaught Error: Class ‘Monolog\Logger’ not found in [PATH]\src\settings.php:16

I Tried to remove the logger from settings for now, but it just triggers another error.
Seems like the autoloader is not doing it’s job…

Someone familiar with this problem?

Thnx in advance.


#2

Hello May,

Did you run composer install to install the dependencies?