- First install maatwebsite/excel package:
composer require maatwebsite/excel
-
Copy
export.blade.php
from this gist inresources/views/vendor/backpack/crud/buttons/export.blade.php
-
Copy
ExportOperation.php
from this gist inapp/Traits/Operations/ExportOperation.php