Answer the question
In order to leave comments, you need to log in
What is the difference between putFile and regular store??
$path = $request->file('avatar')->store('avatars');
$path = Storage::putFile('avatars', $request->file('avatar'));
Answer the question
In order to leave comments, you need to log in
store is a wrapper around putFileAs for convenience - see here
putFile also uses putFileAs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question