skasianov / excelimportexport-plugin
OctoberCMS plugin. Provides replacement for ImportExportController with XLSX/XLS/ODS support.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 0
Type:october-plugin
Requires
- php: ^8.1
- composer/installers: ~1.0
- phpoffice/phpspreadsheet: ^2.1
README
Plugin for OctoberCMS 3.x
Provides drop-in replacement for ImportExportController/ImportModel/ExportModel with support for XLSX, XLS and ODS files.
Installation
composer require skasianov/excelimportexport-plugin
Usage
- Replace
\Backend\Behaviors\ImportExportController
in your controller with\SKasianov\ExcelImportExport\Behaviors\ImportExportController
- Extend your import models with
\SKasianov\ExcelImportExport\Models\ImportModel
instead of\Backend\Models\ImportModel
- Extend your export models with
\SKasianov\ExcelImportExport\Models\ExportModel
instead of\Backend\Models\ExportModel
- Use OctoberCMS's import/export functionality as usual.
Requirements
Requires October 3.x and PHP 8.1.