component accept parameter laravel code example Example: get value mentthod get laravel Input::get('lastName') ; //lastName is variable in view