Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the option to check if a sheet exists by name #158

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

pascallieverse
Copy link
Contributor

When using the package to read invoices, I came across the issue where some invoices didn't have a certain sheet. So I added the possibility to check if the sheets exists.

$sheetExists = SimpleExcelReader::create($pathToXlsx)
    ->sheetExists("sheet1");

@freekmurze freekmurze merged commit b774082 into spatie:main Dec 5, 2023
8 checks passed
@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants