Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

SigalZ's avatar

Change Authenticate to Livewire

I would like to change the Authenticate controllers and forms to livewire.

I'm very confused with the way Authenticate is coded.

My questions:

  1. I removed Auth::routes() from routes/web.php I run php artisan route:list I still see the routes for login and register Why?

  2. I tried something else and added a different route for login in my web.php

//Auth::routes()
Route::get('/login', [PagesController::class, 'index'])->name('login');

It still goes to the login page and not to the view called by PagesController@index.

I ran cache:clear that didn't help.

So what do I need to do to change these to Livewire?

I don't understand

How to I change the routes to work with Livewire? Do I just create my route in the web.php file and that will override the current routes?

0 likes
0 replies

Please or to participate in this conversation.