xxxxxxxxxx
// This has been the best way for me to test routes with parameters
@if(url()->current() == route('named-route', 'parameter')
// do stuff
@endif
xxxxxxxxxx
WEB.PHP
Route::get('/', function () { return view('home'); })->name('home');
BLADE.PHP
<a href="{{ url("/") }}">home</a>
<a href="{{ route('home') }}">home</a>
// Like the post if you found it usefull and help other devs to find the good answer