PHP code example of osiemsiedem / laravel-autolink
1. Go to this page and download the library: Download osiemsiedem/laravel-autolink library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
osiemsiedem / laravel-autolink example snippets
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>.