I followed this tuto : https://github.com/laracasts/PHP-Vars-To-Js-Transformer
Here is my bit of code:
<?php return [ 'bind_js_vars_to_this_view' => 'footer', 'js_namespace' => 'window' ];
I tried a few things like doing the PHP in another file and nothing changed. Always the same message. Maybe I've missed an installation step.
I'm totally new to Laravel / PHP so maybe my code is not structured correctly.