Skip to content
You're reading the docs for Laravel Excel 2.1. The current version is Laravel Excel 4.x (upgrade guide).

Editing existing files ​

You can edit existing Excel files, by loading them and after modification exporting them.

Excel::load('file.csv', function($file) {

    // modify stuff

})->export('csv');