How to design excel sheet using maatwebsite in laravel
问题 I have exported excel CSV file using maatwebsite package in laravel . But when I export it, it's show the raw data, how can I design this excel for show every data separately with it's title. Here, is my exported data image link. http://prntscr.com/i08up8 Here is excel export code. public function export() { $items = DB::table('userinformations') ->join('users', 'userinformations.user_id', '=', 'users.id') ->select('userinformations.fname','userinformations.lname','users.email') ->where(