upload png string to s3 laravel code example
Example: store image to s3 laravel
// Products controller
use Illuminate\Support\Facades\Storage;
$image = $request->file('image');
$filePath = 'images/' . $image->getClientOriginalName();
Storage::disk('s3')->put($filePath, file_get_contents($image), 'public');