Skip to content

feat(import): add native XLSX import support#1281

Open
HardeepAsrani wants to merge 1 commit intodevelopmentfrom
feat/xlsx
Open

feat(import): add native XLSX import support#1281
HardeepAsrani wants to merge 1 commit intodevelopmentfrom
feat/xlsx

Conversation

@HardeepAsrani
Copy link
Member

Summary

This pull request adds support for importing Excel (XLSX) files—both locally uploaded and from remote URLs—into the Visualizer plugin, alongside existing CSV support. It introduces new source manager classes for XLSX files, updates the UI to reflect XLSX compatibility, and includes comprehensive backend and test changes to ensure robust XLSX handling.

The implementation is only limited to XLSX files and not the older-XLS files which are used in pre-2007 Excel and required additional dependencies.

Will affect visual aspect of the product

YES/NO

Screenshots

Test instructions

  • Try to make sure both XLSX and CSV import continue to work normally, both upload URL and scheduled.

Check before Pull Request is ready:

Closes https://github.com/Codeinwp/visualizer-pro/issues/553.

Add Visualizer_Source_Xlsx for local .xlsx file parsing via OpenSpout
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Mar 16, 2026
@pirate-bot
Copy link
Contributor

Plugin build for fec4806 is ready 🛎️!

path: classes/Visualizer/Source/Xlsx.php

-
identifier: missingType.iterableValue
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: For this one, you can put in the PHPDocs array<string, mixed> or array<string, string|int> instead of just array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants