I'm using Laravel 8 and I have uploaded Excel file into the server. The name of the file is "data.xlsx" and it's stored in /public/uploads. Inside the data.xlsx there are three columns with data.
In my database I have already created a table called "promos". Inside that table there are three columns: id, name, code.
How can I store the first and the second column data from the data.xlsx file into the "promos" table, specifically name and code column?
is it possible to achieve this without using additional libraries on Laravel?