https://code-boxx.com/import-excel-into-mysql-php/
- GIST does not allow XLSX files. Convert
2b-dummy.csv
to2b-dummy.xlsx
on your own, or generate your own dummy data. - A copy of PHPSpreadsheet is not included, please download your own -
composer require phpoffice/phpspreadsheet
. - Create a test database and import
2a-dummy.sql
. - Change the database settings in
3-import.php
to your own, then launch it in the browser.