I migrated my application to laravel 6.0 .When installing the packages in the composer.json i upgraded from "maatwebsite/excel:~2.1.0" to "maatwebsite/excel": "^3.1".So now my export function does not work anymore.I tried to follow the upgrade in https://docs.laravel-excel.com/3.1 but didn't work for me.this is the old code that used to work in the old version:
Excel::create($bang,function($excel) use ($array_Data ,$bang)
{
$excel->setTitle($bang);
$excel->sheet($bang,function($sheet) use($array_Data,$bang){
$sheet->fromArray($array_Data,null,'A1',false,false);
});
})->download('xlsx');
via Chebli Mohamed
Your Affiliate Profit Machine is waiting -
RépondreSupprimerPlus, making money online using it is as easy as 1-2-3!
This is how it works...
STEP 1. Choose affiliate products you want to push
STEP 2. Add PUSH BUTTON TRAFFIC (it ONLY takes 2 minutes)
STEP 3. See how the system explode your list and sell your affiliate products all on it's own!
So, do you want to start making profits??
Click here to start running the system