I am trying to deploy a laravel application on my server.But when i am trying to access any php artsan
commands, i am getting the error:
PHP Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in /var/app/current/bootstrap/app.php:14
Stack trace:
#0 /var/app/current/artisan(20): require_once()
#1 {main}
thrown in /var/app/current/bootstrap/app.php on line 14
when i am searching for the solutions on internet, i ve been told to use the following composer commands:
composer dump-autoload
composer install --no-scripts
When i follow this commands, i get this error:
1 package you are using is looking for funding.
Use the composer fund command to find out more!
Could anyone sort this ?? No security vulnerability advisories found composer update --no-scripts