$request->file('image')->move(public_path() . 'users/' . $user->id . '.jpg'); // or $request->file('image')->move(public_path('users/' . $user->id . '.jpg'));