A Laravel package for converting URLs in a given string of text into clickable links.
osiemsiedem/laravel-autolink is a Laravel package for a laravel package for converting urls in a given string of text into clickable links..
It currently has 13 GitHub stars and 147.207 downloads on Packagist (latest version 10.0.0).
Install it with composer require osiemsiedem/laravel-autolink.
Discover more Laravel packages by osiemsiedem
or browse all Laravel packages to compare alternatives.
Last updated
A Laravel package for converting URLs in a given string of text into clickable links.
composer require osiemsiedem/laravel-autolink
use OsiemSiedem\Autolink\Facades\Autolink;
echo Autolink::convert('Check this out - www.example.com. This will be ignored - <a href="http://example.com">My awesome website</a>.');
// Check this out - <a href="http://www.example.com">example.com</a>. This will be ignored - <a href="http://example.com">My awesome website</a>.
./vendor/bin/phpunit
This package is based on the Rinku library.
Please see the LICENSE.md file.