I setup a Laravel project with composer command. When I open the browser to access the page I get a fatal error like this:
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\Learning Laravel\bootstrap/../vendor/autoload.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\Learning Laravel\bootstrap\autoload.php on line 17.
The file is indeed missing.
So my steps were:
- I downloaded composer
Command in CMD:
composer create-project laravel/laravel laravel5-learning After this I got the error about the missing file.
Then I put the suggested command in CMD:
composer install
But now I get a new error:
RuntimeException in EncryptionServiceProvider.php line 29:
No supported encrypter found. The cipher and / or key length are invalid.