maatwebsite/excel
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
composer/semver | 3.4.0 | 28.21 kB | MIT | prod | |
illuminate/support | v10.48.10 | - | MIT | prod | |
phpoffice/phpspreadsheet | 1.29.0 | 1.23 MB | MIT | prod | 1 |
psr/simple-cache | 3.0.0 | 4.48 kB | MIT | prod |
The "maatwebsite/excel" package serves as a high-powered tool for handling Excel exports and imports within the Laravel framework. It operates as an elegant wrapper around PhpSpreadsheet, enhancing the Laravel collections by allowing them to be conveniently exported as Excel or CSV documents. Beyond just basic exporting, this powerful package is geared towards optimizing performance with query chunking features for the larger datasets. On the import side, it simplifies the process of transforming workbooks and worksheets into Eloquent models, providing batch inserts and chunk reading. It even caters to larger files by providing queue capabilities for background operation. Custom layouts for spreadsheets are easily handled too; you can use a HTML table in a Blade view and export it to Excel.
Using the "maatwebsite/excel" package is pretty straightforward once you've got it integrated into your Laravel project. You can effortlessly export collections to Excel or CSV. If you have a more complex data structure to export or your data reside in a model, you can create an export class that is nothing more than a data container for what needs to be exported. Laravel Excel also offers advanced features like exporting queries with automatic chunking for better performance. Regarding the import, you can import your files to your Eloquent models, and it supports chunk reading and batch inserts! Even more, you can create a Blade view with custom layout and export it to Excel.
You can access complete documentation for the "maatwebsite/excel" package on the official website at "https://docs.laravel-excel.com". The documentation provides in-depth information about various features, usage, and functions of the package. For extra knowledge and learning resources, the package provides a series of articles and tutorials on their blog at [https://medium.com/maatwebsite/laravel-excel/home]. Contribution and support guidelines, along with the license details, can also be found in the documentation.