Monologue \ Logger class not found, installation error in Laravel 4

I installed Laravel without using composer by typing the following command:

C: \ wamp \ www \ travail> new laravel project

It seems like a good thing.

Creating an application ...

The application is ready! Build something awesome.

But when I tried to open my project here:

WAMP → local → unkind → project → public

I got this error:

Class "Monologue \ Logger" not found

+4
source share
3 answers

I solve this problem by following these steps:

  • Check the value minimum-stabilityin the composer.json file and set it to stable:

    "minimum-stability": "stable"
    
  • Update composer:

    composer self-update
    
  • Restart the udpate composer:

    composer update
    

!

+5

. minimum-stability dev stable composer.json, . dump-autoload.

0

Finally, it works for me after running these two commands:

composer self-renewal

Then:

Composer update --no-scripts

0
source

Source: https://habr.com/ru/post/1534152/


All Articles