nikookherad / spreadsheet
This service is for easy work with Excel files
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/nikookherad/spreadsheet
Requires
- php: >=7.4
- laravel/framework: ^9.19
- phpoffice/phpspreadsheet: ^1.9
Requires (Dev)
- phpunit/phpunit: ~6.0 || ~7.0 || ~9.0
This package is auto-updated.
Last update: 2025-09-11 19:27:19 UTC
README
Summery:
This service is for easy work with Excel files
Notice: This service needs PhpOffice\PhpSpreadsheet package
This service has six methods that can be used in a chain
- Purify method: Takes from you the Excel file's address:
$excelFile=Excel\Excel::purify(string $excelFileStoragePath,string $extension = null);
and other methods come after that
$excelFileRows=$excelFile->rows(): array; list($head,$rows)=$excelFile->read(): array; $records=$excelFile->records(): array; $excelFilesRowsJustFirstRow=$excelFile->header(): array; $excelFilesRowsWithoutFirstRow=$excelFile->body(): array;