Laravel Excel
Laravel Excel Laravel Excel Laravel Excel

Laravel Excel, supercharged Excel exports and imports in Laravel.

Laravel Excel is defined as a Laravel-flavoured PhpSpreadsheet. It acts as a simple, but elegant wrapper around PhpSpreadsheet, with the core goal of simplifying exports and imports within the Laravel framework.

PhpSpreadsheet, which Laravel Excel utilizes, is a pure PHP library that provides classes allowing users to read from and write to different spreadsheet file formats, such as Excel and LibreOffice Calc.

The principal functionalities of Laravel Excel include:

Export Features

  • Exporting Collections: It allows users to easily export collections to Excel.

  • Query Exporting: It can export queries while utilizing automatic chunking for better performance.

  • Performance Optimization: Users can queue exports for better performance.

  • Blade View Exporting: It enables the easy export of Blade views to Excel.

Import Features

  • Importing to Collections: It facilitates easily import[ing] to collections.

  • Chunk Reading: It can read the Excel file in chunks.

  • Batch Handling: It is able to handle the import inserts in batches.