Hardik Savani wrote a step by step tutorial on how to import and export files with Laravel 5.6.

laravel excel files

Demo

lara

laravel excel