how to get request url in laravel controller code example
Example 1: laravel get last get request
{{ url()->previous() }}
Example 2: get value mentthod get laravel
Input::get('lastName') ;
//lastName is variable in view
{{ url()->previous() }}
Input::get('lastName') ;
//lastName is variable in view