Rename .env.example
file to .env
inside your project root and add the database information. (xampp/htdocs/foldername)
Run php artisan key:generate
Run php artisan migrate
Run php artisan db:seed
to run seeders, if any.
Run php artisan serve
Rename .env.example
file to .env
inside your project root and add the database information. (xampp/htdocs/foldername)
Run php artisan key:generate
Run php artisan migrate
Run php artisan db:seed
to run seeders, if any.
Run php artisan serve
Download file from github any other source Extract the folder and add in my localhost folder (xampp/htdocs/foldername/fileshere) Open cmd go to loction of folder using this commands cd/ cd xampp cd htdocs cd foldername Now write composer and press enter After this process run composer update using this commands Update composer (To update the Missing files like vendor folder ) we will conitue in next post
You have to download excel reader package and add these files....
require_once(spreadsheet-reader-master/php-excel-reader/excel_reader2.php');
require_once(spreadsheet-reader-master/SpreadsheetReader.php');
$tragetPath = 'excel.xls';
$Reader = new SpreadsheetReader($targetPath);
foreach ($Reader as $Row)
{
echo $Row[0]; // echo first column value
}