# Storing exports

To store a resource export to a disk, add the Maatwebsite\LaravelNovaExcel\Actions\ExportToExcel to actions().

use Maatwebsite\LaravelNovaExcel\Actions\ExportToExcel;

public function actions(Request $request)
{
    return [
        new ExportToExcel(),
    ];
}
1
2
3
4
5
6
7
8

Now you should see "Export To Excel" in your list of actions.

Store To Excel

The users.xlxs file will be stored in your default storage folder. By default Laravel-settings this will be storage/app.