Otherwise phpstorm doesn't understand the paths correctly. He thinks that this is not a complete application, but a package. And when creating a class, the namespace indicates “app” with a small letter, but should be “App”.
		
			
				
	
	
		
			18 lines
		
	
	
		
			468 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			468 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
use Illuminate\Http\Request;
 | 
						|
 | 
						|
define('LARAVEL_START', microtime(true));
 | 
						|
 | 
						|
// Determine if the application is in maintenance mode...
 | 
						|
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
 | 
						|
    require $maintenance;
 | 
						|
}
 | 
						|
 | 
						|
// Register the Composer autoloader...
 | 
						|
require __DIR__.'/../vendor/autoload.php';
 | 
						|
 | 
						|
// Bootstrap Laravel and handle the request...
 | 
						|
(require_once __DIR__.'/../bootstrap/app.php')
 | 
						|
    ->handleRequest(Request::capture());
 |