For Laravel 5.* views, where i've noticed that if you nest too much views, a performance drop happens. so i built this console command based package, that flatten the view into one file for production performance improvement.
After outputting the result file, in the case of using a lot of 'use' in the nested files, cause the result to have duplicate 'use' which cause php error.
After outputting the result file, in the case of using a lot of 'use' in the nested files, cause the result to have duplicate 'use' which cause php error.