osiemsiedem/laravel-autolink
Laravel AutoLink automatically converts URLs, email addresses, hashtags, and @mentions in text into clickable HTML links. Configurable, framework-friendly, and easy to drop into Blade views or models.
www. hosts, and email addresses become clickable. This package answers that without pulling in a full Markdown/WYSIWYG pipeline.www. after Unicode punctuation are all edge cases found in production, not in a first draft. Buying is cheap; maintaining this parsing logic is not.[email protected] or a URL with a trailing dot as a live link is exactly the kind of thing that gets flagged in a phishing review. The 10.0.0 fixes tighten false-positive linking.Adopt when:
www. hosts, and emails.<a>, <pre>, <code> (ignored-tag detection), i.e., you're post-processing HTML fragments, not raw text.Look elsewhere when:
Before adopting 10.0.0: confirm which Laravel/PHP versions were dropped and whether the www./Unicode boundary fix changes output for your corpus. Both are output-changing for some inputs, so regenerate snapshots rather than assuming a no-op.
Executives: A small, narrow dependency that makes user-written content clickable without a rich-text editor. The 10.0.0 release keeps us current with Laravel 13 and closes a handful of parsing edge cases that could otherwise render spoofed or broken links — a low-cost risk reduction, not a re-platforming.
Engineering: Major version bump. Pair the lockfile update with the Laravel 13 upgrade, verify dropped framework/PHP constraints in the upgrade guide, and run existing linkification tests — the ignored-tag, email local-part, and www./Unicode fixes are behavior changes, not pure refactors. It remains a linkifier only: sanitization and escaping stay our responsibility.
How can I help you explore Laravel packages today?