1// web.php file
2Route::get('/test', function (\Illuminate\Http\Request $request) {
3 return dump($request->query('hello')); // world
4})->name('test');
5
6// .blade.php file
7<a href="{{ route('test', ['hello' => 'world']) }}"> // /test?hello=world
8