1. Go to this page and download the library: Download theprivateer/clickable 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/ */
theprivateer / clickable example snippets
echo \Privateer\Clickable\Clickable::parse('Read my blog at https://philstephens.io');
// Read my blog at <a href="https://philstephens.io" rel="nofollow">https://philstephens.io</a>
$str = 'Find out more at https://packagist.org/packages/theprivateer/clickable.';
echo str_clickable($str)
// Find out more at <a href="https://packagist.org/packages/theprivateer/clickable" rel="nofollow">https://packagist.org/packages/theprivateer/clickable</a>.
$str = 'Find out more at <a href="https://packagist.org/packages/theprivateer/clickable" rel="nofollow">https://packagist.org/packages/theprivateer/clickable</a>.';
echo str_clickable($str)
// Find out more at <a href="https://packagist.org/packages/theprivateer/clickable" rel="nofollow">https://packagist.org/packages/theprivateer/clickable</a>.
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.