osiemsiedem/laravel-autolink

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

Autolink for Laravel

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

pavankumar/qrcoder

This is a Laravel 5 package for generating QR codes.

77 5
desmond/beautymail

Send beautiful html emails with Laravel

44 4
snowfire/beautymail

Send beautiful html emails with Laravel

776,085 1,313
fitztrev/laravel-html-minify

Minifies the HTML output of Laravel 4 applications

216,832 412
spatie/laravel-html

A fluent html builder

8,804,854 829

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