How to rollback php artisan make: auth in laravel 5 effects

I am new to laravel.

I was in the middle of my project. I googled to verify login in laravel 5.

I found this command

php artisan make:auth

He created several classes and also changed my greeting .blade.php

there were several .blade.php codes in the greeting. Now, how to rollback the effects of this command.

Please, help.

+8
source share
5 answers

Go to routes/web.php, delete the created routes with the make: auth command. Delete these two lines and your project will work as usual.

Auth::routes();

Route::get('/home', 'HomeController@index');
+7
source

Take a look at the source code for the make: auth command to see what files added or changed this command and returned it.

  • /login.blade.php
  • /register.blade.php
  • //email.blade.php
  • // reset.blade.php
  • /app.blade.php
  • home.blade.php
+7

wep.php route folder.

Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');

: , auth, app.blade.php, home.blade.php

+1

. : auth command laravel.. auth , auth auth route. - IDE, ctrl + z bcause, IDE , , , .

0

welcome.blade.php. "", :

php artisan migrate:

-2

Source: https://habr.com/ru/post/1627388/


All Articles