liip/url-auto-converter-bundle
A Symfony bundle that automatically turns plain URLs in text into clickable HTML links. It provides a Twig filter and configurable URL detection, making it easy to render user-generated content with safe, consistent link markup.
www. prefixes, bare emails → mailto:).rel/target policy). Treating it as a standalone dependency fragments that layer; treating it as an in-house filter keeps escaping and sanitization policy in one place.rel="nofollow noopener"? Are emails obfuscated against scrapers? Is the string escaped before linkification to avoid injecting markup from user input? The bundle doesn't answer these — but scoping them is a PM task, and this repo is a useful checklist of the questions.Consider it only as reading material or as a pinned legacy dependency:
Look elsewhere (or build) when:
league/commonmark and its autolink extension rather than stacking a separate filter.linkifyjs client-side, autolinker) have far more mature edge-case handling.rel="nofollow noopener" and tests) is roughly a day of engineering including edge cases. That cost is lower than the cost of a future forced migration off an archived bundle.To executives: The capability — turning bare URLs and emails in user content into clickable links — is real and worth having, but this specific library is deprecated, archived since 2017, and has zero dependents. Taking a dependency on it trades a one-day build for an open-ended maintenance and audit liability. We should build the filter in-house, own it, and keep our framework upgrade path clear. Recommend: reject as a dependency, adopt as a design reference.
To engineering: Don't install it — steal from it. Implement a linkify Twig filter in our own bundle: escape the input first, then match http/https/www./email patterns, emit <a> tags with rel="nofollow noopener" and a configurable target, and cover trailing punctuation, parentheses, and already-linked content with tests. If we need sanitization or markdown, compose with Symfony HTML Sanitizer or league/commonmark rather than layering a stale regex. If any legacy service still uses this bundle, flag it and schedule removal alongside the next Symfony upgrade.
On the "opportunity" signal: A high opportunity score here reflects a genuine, recurring product need (linkified UGC across comments, listings, notifications, and emails), not a mandate to adopt the package. The right response to the opportunity is a small, owned, tested implementation — not a dependency on an archived bundle.
How can I help you explore Laravel packages today?