New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

osiemsiedem/laravel-autolink

A Laravel package for converting URLs in a given string of text into clickable links.
154,555 13
Install
composer require osiemsiedem/laravel-autolink
Latest Version:10.0.0
PHP:^8.3
Laravel:13
Older releases:5 – 12
License:MIT
Last Updated:Mar 26, 2026
Links: GitHub  ·  Packagist
Maintainer: bonzai

Build Status Latest Stable Version License

A Laravel package for converting URLs in a given string of text into clickable links.

Requirements

  • PHP >= 8.3
  • Laravel >= 13.0

Installation

composer require osiemsiedem/laravel-autolink

Usage

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>.

Testing

./vendor/bin/phpunit

Credits

This package is based on the Rinku library.

License

Please see the LICENSE.md file.

Related Packages

snowfire/beautymail

Send beautiful html emails with Laravel

780,046 1,313
desmond/beautymail

Send beautiful html emails with Laravel

44 4
spatie/url

Parse, build and manipulate URL's

17,837,334 738
spatie/laravel-html

A fluent html builder

9,216,946 827
madeitbelgium/laravel-email-domain-validation

PHP Laravel Email domain validator

69,846 19

Version History

Version Released PHP Laravel License
10.0.0 ^8.3 ^13.0 MIT
9.0.0 ^8.2 ^12.0 MIT
8.0.0 ^8.2 ^11.0 MIT
7.1.0 ^8.1 ^10.0 MIT
7.0.0 ^8.1 ^10.0 MIT