--- title: 'Use the stream() method to send a file to the browser without triggering a download' tweet_id: '1499806901390827523' thread_slug: weekly-thread-2022-09 author_username: avosalmon images: - 'https://pbs.twimg.com/media/FMwQ4iQaUAIpajf.jpg' created_at: 2022-03-04T18:00:05+00:00 slug: use-the-stream-method-to-send-a-file-to-the-browser-without-triggering-a-download --- #Laravel Tip 🔥 If you want to return a file content without initiating a download, you can use the stream() method. It will display the file in the browser.