Add a 'larasset:host' configuration option. Useful when CDNs are used for hosting.

If you set a host, like this:

    Config::set('larasset::host', 'http://assets.example.com');

Helpers take that into account:

    image_tag("logo.png");
    // <img src="http://assets.example.com/assets/logo.png" alt="Logo">

    javascript_include_tag("application");
    // <script type="text/javascript"
src="http://assets.example.com/assets/application.js"></script>

And you can also set a custom host:

    stylesheet_link_tag("application", ['host' =>
'http://anotherexample.com']);
    // <link media="all" type="text/css" rel="stylesheet"
href="http://anotherexample.com/assets/application.css">
The code now follow the PSR-2 coding style.