I have saved a file with this command
$newFile = [ \'event_id\' => $event->id, \'path\' => $storePath ]; EventFi
Very simple(Proper Laravel Way):
//add this at the top of your controller use File; // add this with in your function $size = File::size($PATH_OF_FILE);