Build HTML code with HtmlBuilder

Code
<?php

use Illuminate\Routing\UrlGenerator;
use 
Illuminate\Routing\RouteCollection;
use 
Illuminate\Http\Request;

use 
Illuminate\View\Factory;

use 
Illuminate\View\FileViewFinder;
use 
Illuminate\Filesystem\Filesystem;
use 
Illuminate\Events\Dispatcher;
use 
Illuminate\View\Engines\EngineResolver;

use 
Collective\Html\HtmlBuilder;

$urlGenerator = new UrlGenerator(
    new 
RouteCollection(),
    
Request::createFromGlobals()
);

$viewFinder = new FileViewFinder(new Filesystem(), []);
$dispatcher = new Dispatcher();
$engineResolver = new EngineResolver();

$factory = new Factory($engineResolver$viewFinder$dispatcher);

$html = new HtmlBuilder($urlGenerator$factory);

echo 
$html->image('img/php_logo.png') .
    
'<br>' $html->link('http://php.net''PHP Website');
Result
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6