Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Snapey's avatar

So you pull this git repository into a clean folder then run composer install from the project root.

What happens?

munazzil's avatar

Then when I visit project/public following error display in browser.

   ```Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in C:\xampp\htdocs\lns-web-master\bootstrap\app.php:14 Stack trace: #0 C:\xampp\htdocs\lns-web-master\public\index.php(22): require() #1 {main} thrown in C:\xampp\htdocs\lns-web-master\bootstrap\app.php on line 14```
munazzil's avatar

Sorry here it is ,Same error shows with ,

      ```c:\xampp\htdocs\lns-web-master>composer install
 You are running Composer with SSL/TLS protection disabled.
  Loading composer repositories with package information
 Installing dependencies (including require-dev) from lock file
 Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated 
  dependencies. Run update to update them.
 Nothing to install or update
  Package illuminate/html is abandoned, you should avoid using it. Use laravelcollective/html instead.
Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead.
 Generating autoload files


   [RuntimeException]
   Could not scan for classes inside "C:\xampp\htdocs\lns-web- 
   master\vendor/maatwebsite/excel/src/Maatwebsite/Excel" which does not appear to be a file nor a folder


   install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [-- no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...```
munazzil's avatar

I have two projects one is laravel 5.3 and one is laravel 5.4 what should i do but my current project in localhost 5.6 works perfectly.

Previous

Please or to participate in this conversation.