Why in laravel on the inside always 404?

Guys, never with php I have not been to quietly pass off. documentation and search for the answers outside.
Ie what documentation should by default work, but not working, and the documentation a word about it, or it's almost in being.
laravel is no exception. Again, line up the debugger put the works, moving to laravel/public/auth/login but this page. No.
write in index.php (the link to the answer from the forum)

$request = Illuminate\Http\Request::capture();

get the error
Fatal error: Uncaught Error: Call to a member function run() on unknown in C:\www\OpenServer\domains\laravel\public\index.php:39 Stack trace: #0 {main} thrown in C:\www\OpenServer\domains\laravel\public\index.php on line 39

Sadly, even once.

Why not work by default the auth/login and how to fix it?
June 8th 19 at 17:02
2 answers
June 8th 19 at 17:04
1. Try to configure the Open Server so that clicking on the domain (site.ru) - took the files from the path: site.ru/public.
2. Check out the ranting. If such routes are not, and accordingly will not work.
3. Prescribing it?
php artisan make:auth
Yes, after prescription of the team earned
Google them thanks! - Hattie.Purdy28 commented on June 8th 19 at 17:07
, Autentifikacija
Laravel provides a quick way to create billets required for all authentication routes and views with one command:
php artisan make:auth
This command should be used in a fresh application, it will set the view layout the views for login and registration, as well as routes for each endpoint authentication. Will also be generated HomeController caters for requests to the settings panel of your app after login.

By default in Laravel there is no routes requests to the controller for authentication. You can add them manually in the file app/Http/routes.php:
// Routes authentication...
Route::get('auth/login', 'Auth\AuthController@getLogin');
Route::post('auth/login', 'Auth\AuthController@postLogin');
Route::get('auth/logout', 'Auth\AuthController@getLogout');

// Register routes...
Route::get('auth/register', 'Auth\AuthController@getRegister');
Route::post('auth/register', 'Auth\AuthController@postRegister');
- Jamaal_Bode commented on June 8th 19 at 17:10
thank you will continue to learn - Hattie.Purdy28 commented on June 8th 19 at 17:13
Good luck!) - Jamaal_Bode commented on June 8th 19 at 17:16
Thank you ) - Hattie.Purdy28 commented on June 8th 19 at 17:19
June 8th 19 at 17:06
Ranting and definitely added?
Yes, the routing was the problem - Hattie.Purdy28 commented on June 8th 19 at 17:09

Find more questions by tags Laravel