1 min readAug 24, 2017
Beautiful approach, especially that you don’t use AJAX or something :) Could improve the code a little bit more to Laravel syntax. For example the response:
return response($javascript, 200, [‘Content-Type’ => ‘text/javascript’]);
Same for iterating and including the files. Thank you very much!