I have a url in address bar with some query string and I need a form in laravel blade generate a url to the same url in the address bar.
What I've done so far is:
{{ \Form::open(['url' => \URL::to('oauth/authorize') . '?' . http_build_query($_GET)]) }}
Is this the right way or is there any other way to generate it (a default laravel function maybe) ?