Often, you’ll find yourself in situations, where you want to pass some server-side string/array/collection/whatever to your JavaScript. Traditionally, this can be a bit of a pain – especially as your app grows.
This package simplifies the process drastically.
Github: https://github.com/laracasts/PHP-Vars-To-Js-Transformer