osiemsiedem/laravel-autolink

A Laravel package for converting URLs in a given string of text into clickable links.
150,543 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
thiagoericson/fitmail

Send beautiful html emails with Laravel

5 0
snowfire/beautymail

Send beautiful html emails with Laravel

769,772 1,313
desmond/beautymail

Send beautiful html emails with Laravel

44 4
marcelgwerder/laravel-api-handler

Package providing helper functions for a Laravel REST-API

94,344 155