skasianov / excelimportexport-plugin
OctoberCMS plugin. Provides replacement for ImportExportController with XLSX/XLS/ODS support.
Installs: 40
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 2
Open Issues: 1
Type:october-plugin
pkg:composer/skasianov/excelimportexport-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\ImportExportControllerin your controller with\SKasianov\ExcelImportExport\Behaviors\ImportExportController - Extend your import models with
\SKasianov\ExcelImportExport\Models\ImportModelinstead of\Backend\Models\ImportModel - Extend your export models with
\SKasianov\ExcelImportExport\Models\ExportModelinstead of\Backend\Models\ExportModel - Use OctoberCMS's import/export functionality as usual.
Requirements
Requires October 3.x and PHP 8.1.