Store( ) does not work, and move( ) works?

I have an array of photos from the form. In this example, I check whether the array of files, if any, to retain. The method store() doesn't work, and move() works. Why?

if($request->hasFile('gallery')){
 foreach ($request->gallery as $value) {
 $extension = $value->extension();
 $imgName = md5($value->getClientOriginalName()).'.'.$extension;
 // $value->move(public_path('imgs'), $imgName); --- works
$value->store('imgs');
}
 }


Filesystems.config
'disks' => [

 'local' => [
 'driver' => 'local',
 'root' => storage_path('app'),
],

 'public' => [
 'driver' => 'local',
 'root' => storage_path('app/public'),
 'visibility' => 'public',
],
...
July 2nd 19 at 13:22
2 answers
July 2nd 19 at 13:24
Solution
What error ?
Probably need to give chmod the storage folder.
July 2nd 19 at 13:26
Solution
So you have the "imgs" are not described in Filesystems

Find more questions by tags PHPLaravel