$ 0 0 If you do not want to write the file, so you want to send it directly to the browser?If so, the save method accepts a particular parameter ' php://output' that does exactly this.You can find a complete sample in Tests\01-simple-download - xlsx.php