maatwebsite/excel
Laravel Excel is a Laravel wrapper for PhpSpreadsheet that makes Excel/CSV exports and imports simple and fast. Export collections or queries with automatic chunking, handle large datasets efficiently, and integrate cleanly into your Laravel apps.
WithFormatData in combination with SkipsEmptyRows (#3760)isEmptyWhen to customize is row empty logic. (#3645)required_unless rule (#3660)WithDefaultStyles concern to allow configuring the workbook default styles.WithBackgroundColor concern to allow configuring the workbook default background color.WithGroupedHeadingRow to allow imported sheets to group the values of columns with the same header in an arrayprepareForValidation callback not being called when using SkipsEmptyRows[@mixin](https://github.com/mixin) docblock to all macroable classes to allow for IDE autocompletion of delegate classesExcel::toArray not allowing nullable reader types for uploaded filesFromQuery::query()SkipsEmptyRows support with the WithColumnLimit concernprepareRows method for your export class if needed.QueueExport job. Just add failed
method for your export class if needed.Illuminate\Contracts\Translation\HasLocalePreference for your export.JsonSerializable support in Maatwebsite\Excel\Validators\Failure.$maxExceptions support in Maatwebsite\Excel\Jobs\ReadChunk.php.WithUpserts concern.prepareForValidation on WithValidation concernwithValidator on WithValidation concernArrayAccess to Rowignore_empty setting to config/excel.phpstrict_null_comparison setting to config/excel.phpBeforeSheet and AfterSheet events receiving exportable instance
instead of importable when calling on an Import.Older release notes can be found in Github releases.
ToCollection and ToArray.Row's ArrayAccess implementationHow can I help you explore Laravel packages today?