@if (Route::has('login'))
@auth
Home
@else
Login
@if (Route::has('register'))
Register
@endif @endauth
@endif
Laravel
Docs
Laracasts
News
Blog
Nova
Forge
Vapor
GitHub