harishp's avatar

Upload Video file to public/items folder which is blob url in Larvel

How can I upload blob video url into public/item folder without creating migration table ? here is code in my VideoService.php file: if($video) { $path = public_path() . '/video/items/'; if ( !file_exists($path) ) mkdir($path, 0775, true); $file = file_get_contents($video); Storage::disl('my_files')->put($path, $file); } It's creating path but I can't file there! Or how can I convert this into video file while storing ther?

0 likes
0 replies

Please or to participate in this conversation.