Solution for "how does laravel routing work"

Route::get('user/{id}/profile', function ($id) { // })->name('profile'); $url = route('profile', ['id' => 1, 'photos' => 'yes']); // /user/1/profile?photos=yes

route() and with() in laravel

Similar codes for "how does laravel routing work"


Latest 'PHP' questions

Added before "how does laravel routing work"