to('Google', 'https://www.google.com'); ?>
to('Facebook', 'https://www.facebook.com', ['class'=>'social-link']); ?>
toImage('https://www.logo-image.png', 'https://www.example.com', ['width'=>'150', 'height'=>'50'], 'Click Here'); ?>This code generates a link that displays an image and text, linked to the example.com homepage. PHP Linker can be found in the Packagist repository and installed with Composer.