Suddenly i'm facing
Class 'Illuminate\Foundation\Application' not found"
in my project. Is there any solution or edit require?
I have already updated my composer using this:
composer update --no-scripts
Here is my bootstrap\app.php
code:
<?php
$app = new Illuminate\Foundation\Application(
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
);
$app->singleton(
Illuminate\Contracts\Http\Kernel::class,
App\Http\Kernel::class
);
$app->singleton(
Illuminate\Contracts\Console\Kernel::class,
App\Console\Kernel::class
);
$app->singleton(
Illuminate\Contracts\Debug\ExceptionHandler::class,
App\Exceptions\Handler::class
);
return $app;