get current url with parameters and segment method laravel 6 example